Array index out of bounds?

Blitz3D Forums/Blitz3D Beginners Area/Array index out of bounds?


Dim my_array(10)

my_array(1)=5
my_array(6)=8
my_array(10)=9
my_array(11)=7 <---- This line cause Array Index Out of Bounds error. Array goes from 0 to 10, and you're trying to address index number 11.




Ahh, that's exactly what was wrong! Thanks.