I'm writing a game for Ti 84 and everything was going fine until I inserted this:
For(C,1,dim(∟DX)) If ∟DX(C)=∟R(2C) and ∟DY(C)=∟R(2C-1) Then ∟R(4)→∟R(1) ∟R(5)→∟R(2) 0→∟R(3) Goto AB End End Lbl Ab
Now, every time the If is true, the program stops running and returns to the home screen. I don't know how far it gets after the If. It doesn't display a "Done" message. It's not somewhere else there is a mistake, because if I insert "Goto AB" before this code everything is OK. It's alsy not the commands after the If statement, because when a "Goto AB" is placed after the Then, it does the some thing (the bad one). There aren't any "Basic Taboos" I've broken here, are there? Other than that, I can't find any problems.