2D Arrays.

BlitzMax Forums/BlitzMax Beginners Area/2D Arrays.

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

what basic does, does no one really interest

all real languages have arrays like used in max from 0 to number_of_elements - 1

the way blitbasic did it was just wrong! if you declare an array with 5 elements it has to have 5 elements not 6

there is another reason for this behavior: Streams etc are adressed with [x] as well where x is the memory position which starts at 0 and not at 1 ;)