A problem with a array
BlitzMax Forums/BlitzMax Programming/A problem with a array
| ||
I got my isometric system working but I tryed to change it so that it suports some new stuff and I get a error Atempt to index array element beyond array length I know from where this error usualy comes but now I can't seem to solve it Pls take a look at it and tell me wath the hell is wrong... |
| ||
While posting this thread you could have trapped down the error by yourself. So check your loops, write some debuglogs in it, find the error and fix it. Simple! If you know what you've done last and it worked before, begin your checks there... |
| ||
Change For x = 0 To width - 1 to For x = 0 Until width Maybe it helps |
| ||
nah i got it fixed a day after I posted... The for lloop was ok but the drawimage had a progblem i tryed to draw a image that didn't existed |