[TUHS] Array index history

Ron Natalie ron at ronnatalie.com
Fri Jun 9 09:16:48 AEST 2017


> FORTRAN, yes. BASIC (which dialect might we be talking about?) normally
actually start with 0. However, BASIC is weird, in that the DIM statement is
actually specifying the highest usable index, and not the size of the array.

Eh?  Not in any BASIC I ever used.   They all started at 1.   Can't vouch
for the later Microsoft "visual" variants but the original 1970's era BASIC
started with 1.
DIM X(10) gave you ten elements from 1...10








More information about the TUHS mailing list