6 ms·
BASIC (the traditional dialects thereof, anyway) does all of those things. In fact, you can even read indices of an array without declaring it. If you do, it's
by int_19h 10y ago
BASIC (the traditional dialects thereof, anyway) does all of those things.
In fact, you can even read indices of an array without declaring it. If you do, it's auto-declared as having 11 elements (with indices 0 to 10), filled with zeroes.
This was still supported as late as VB for DOS. I wouldn't be surprised if VB6 also had this behavior.