From: afn03257 AT freenet3 DOT afn DOT org (Daniel P Hudson) Newsgroups: comp.os.msdos.djgpp,comp.programming,comp.unix.programmer, Subject: Re: quickbasic record to c struct? Date: 12 Dec 1996 12:13:23 GMT Lines: 13 Message-ID: <58ost3$uq@huron.eel.ufl.edu> References: <58gksj$ign AT butterfly DOT hjs DOT com> <32ACD779 DOT 6923 AT cs DOT com> <32AEEFBF DOT 182BE38E AT alcyone DOT com> NNTP-Posting-Host: freenet3.afn.org NNTP-Posting-User: afn03257 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Erik Max Francis 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.