Array bug.

Archives Forums/Blitz3D Bug Reports/Array bug.

????(Posted 2006) [#1]

Sorry if this is not a bug or has been reported already.

If you turn debug on it would give array index out of bounds after i goes pass 1.

If you turn debug off it gives an MAV and a other error when i gets past 1000ish.


lo-tekk(Posted 2006) [#2]
...array index out of bounds...
This should answer your question already ?

------------------------
www.moonworx.de


Beaker(Posted 2006) [#3]
It's not a bug.


Jams(Posted 2006) [#4]
simple answer - blitz doesnt do bounds checking when debug is turned off...


Kepu(Posted 2006) [#5]
Try this:

Dim array(5000,1)
For i = 0 To 5000
array(i,0) = 1
Print i
Delay 20
Next
End