Mail Archives: djgpp/1996/12/12/22:14:40
Erik Max Francis <max AT alcyone DOT com> wrote:
>Randy Kaelber wrote:
>> Are we sure of this? It's been years since I've done any BASIC
>> programming, but I'm quite certain that array indexes started at 0.
>They started at 1, although on some versions of BASIC you could change
>this. (I don't know about the later incarnations of BASIC such as
>QBASIC or Visual BASIC.)
As ANSI specifies, Arrays start at the element specified, if no
value is given they default to 1 as the start. Some implementations
permit an override feature which sets the base to a different default.
- Raw text -