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 ;)
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 ;)