I'm using TokenIDE, so it is supposed to be that way. |L represents the listy
L. The cursor was on the top left corner of this subprogram when I pressed goto. Note that the problem occurred the first time the script was run, not only the time that it rotated off the board.
EDIT: I copied your (Kerm's) code, removed my syntax error comment, and moved one token in the second line to work with TokenIDE (the | which kerm left before the 7). Now, the syntax error moved, see code for details:
Code: {0,0,0,0,0,0,0->|LTPD
If 7>|LCPD(7:Then
For(I,0,2
~|LCPD(2I+1)->|LTPD(2I+2
|LCPD(2I+2)->|LTPD(2I+1
End
Delvar RFor(I,0,2 //SYNTAX ERROR ON THE DELVAR!!
If A+|LTPD(2I+1)>10 or A+|LTPD(2I+1)<1 or B-|LTPD(2I+2)>20 or B-|LTPD(2I+2)<1 or [A](B-|LTPD(2I+2),A+|LTPD(2I+1
1->R
End
If not(R:Then
For(I,0,2
Pt-Off(~1+3(A+|LCPD(2I+1)),62-3(B-|LCPD(2I+2)),2)
End
For(I,1,6)
|LTPD(I)->|LCPD(I):End
For(I,0,2)
Pt-On(~1+3(A+|LCPD(2I+1)),62-3(B-|LCPD(2I+2)),2)
End
End
End