bobbimanners / EightBall

The Eight Bit Algorithmic Language for Apple II, Commodore 64 and VIC20
GNU General Public License v3.0
19 stars 3 forks source link

Interpreter does not zero fill arrays #22

Closed bobbimanners closed 6 years ago

bobbimanners commented 6 years ago

Memory allocated by the compiler is always initialized, but this is not true for the compiler. As a result if an array is longer than its initializer, it is not guaranteed that the remaining elements are zero.

It would be handy if:

word xx[10]={}

ensured zero filled array in the interpreter, just as it does in the compiler.

bobbimanners commented 6 years ago

Fixed in v0.65.