From: Stefan Rajec Newsgroups: comp.os.msdos.djgpp,comp.programming,comp.unix.programmer,comp.os.msdos.programmer Subject: Re: quickbasic record to c struct? Followup-To: comp.os.msdos.programmer Date: 11 Dec 1996 17:58:22 +0100 Organization: ISR, University of Stuttgart, Germany Lines: 16 Sender: rajec AT bube Message-ID: <71via9nhld.fsf@isr.uni-stuttgart.de> References: <58gksj$ign AT butterfly DOT hjs DOT com> <32ACD779 DOT 6923 AT cs DOT com> <1996Dec11 DOT 094130 DOT 2322 AT nntp DOT muohio DOT edu> NNTP-Posting-Host: bube.isr.uni-stuttgart.de Mime-Version: 1.0 (generated by tm-edit 7.84) Content-Type: text/plain; charset=US-ASCII To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp randy AT avian DOT dars DOT muohio DOT edu (Randy Kaelber) writes: Randy Kaelber: > John M. Aldrich (fighteer AT cs DOT com) wrote: > > > Finally, as another poster mentioned, BASIC arrays go from 1..n, while C > > arrays go from 0..(n-1). Thus, the size arguments to the string > > 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. It's been years since I've done any Basic programming, but I remember that there was something like "OPTION BASE 0" in my dialect of Basic, which sets the arrays to begin at index 0. bobo