Quantcast
Channel: Cemetech
Viewing all articles
Browse latest Browse all 78276

Your Projects :: RE: Tetris 3.0

$
0
0
Author: KermMartian
Posted: 12 Oct 2012 12:12:05 pm (GMT -5)

It is very unlikely that it changed from a SYNTAX to DIM error arbitrarily. I can only assume that (2I+1) or (2I+2) is out of bounds now. You basically need to not make those list accesses if they're going to be out-of-bounds, which you should be able to do detect. Essentially:


Code:
If 2I+1<=Something
Then
If A+∟TPD(2I+1)>10 or A+∟TPD(2I+1)<1
1->R
If 2I+2<=Something
Then
If B-∟TPD(2I+2)>20 or B-∟TPD(2I+2)<1
1->R
If [A](B-∟TPD(2I+2),A+∟TPD(2I+1
1->R
End
End

_________________




Viewing all articles
Browse latest Browse all 78276

Trending Articles