While not a bug, per se, it really goes against traditional BASIC to have an error message like
Empty array value returned in line 30
In traditional BASIC, DIM fills the array with the value zero so this message would never appear.
I hope you'll consider changing pybasic to conform to the traditional behavior of assigning zero to scalars as well as arrays.
Many older BASIC programs rely on it.
While not a bug, per se, it really goes against traditional BASIC to have an error message like
Empty array value returned in line 30
In traditional BASIC, DIM fills the array with the value zero so this message would never appear.
I hope you'll consider changing pybasic to conform to the traditional behavior of assigning zero to scalars as well as arrays.
Many older BASIC programs rely on it.