Τετάρτη 8 Φεβρουαρίου 2023

Revision 10, Version 12 - String Bug Removed

I found I bug for string arrays. This was introduced from version 12, where the non string values in a variant array, when the name of array has $ (so return a string) and the value type was Empty (empty variant) the returned was "0" not "". So now it fixed, and return "" (empty string).

Dim A$(10)

The array has empty variant not a null string.

Print A$(3)=""

This has to return true, but was false. I found it when I check the kb (piano keyboard module) in info.gsb (the module of modules offered in Setup file of M2000 Interpreter), and show a graphic output with keys supposed not exist.

So the revision 10 has two lines of code to recover from that bug.


Δεν υπάρχουν σχόλια:

Δημοσίευση σχολίου

You can feel free to write any suggestion, or idea on the subject.