Out of Bounds Problems

BlitzMax Forums/BlitzMax Beginners Area/Out of Bounds Problems

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.

Are you sure you're posting that exactly like it's in your program? I can't even compile the line
Local sdir:Int[5] = New Int[5]

Try doing it the way undomiel has it, or even better, if you are not going to be redimentioning the array later, just use
Local sdir:Int[5]