[futurebasic] Re: [FB] Re : [FB] Array Bounds

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : June 1999 : Group Archive : Group : All Groups

From: Al Boyd <aboyd@...>
Date: Sun, 6 Jun 99 20:53:43 -0500
>I think you're confusing FutureBasic with "C"  :-)
>
>In fact, if you have the "start at zero" pref set, "DIM myRecord(5)" reserves
>space for _six_ records, numbered myRecord(0) through myRecord(5).
>
>- Rick

I be confused...

The book; "Programming the Macintosh with FutureBasic"

In the "Array variables" chapter it states...

The following program line creates a character string
array with six elements, myName$(0) through myName$(5):

DIM myName$(6)    'create 6-elements


Has something changed?
or
Is this a misprint?
or
Is Rick be confused?

Thanks,
Al


=======================================================
McHurricane: Macintosh Storm Tracking Software

http://members.aol.com/stormeye
email: aboyd@...
=======================================================