Before I get started, this is a TI-83+ OS 1.19 ROM running on jsTIfied.
ClrDraw
// Declare vars
44→A
20→B
0→K
// Draw box
Line(7,5,7,86
Line(57,5,57,86
Line(7,5,57,5
Line(7,86,57,86
// Game loop
While K≠45
getKey→K
// Left
If K=24 and A>6
Then
A-1→A
End
// Up
If K=25 and B<85
Then
B-1→B
End
If K=26 and A<56
Then
A+1→A
End
Text(B,A,"+"
End
When I move up and left, the cursor seems to leave no trail. But when I go right....
http://imgur.com/Kk1p8
...That happens.
Is this some random bug with the OS or am I doing something wrong?
NOTE: This program was tested on an actual calc as well, so it can't be jsTIfied causing the glitch.
Quote:
ClrDraw
// Declare vars
44→A
20→B
0→K
// Draw box
Line(7,5,7,86
Line(57,5,57,86
Line(7,5,57,5
Line(7,86,57,86
// Game loop
While K≠45
getKey→K
// Left
If K=24 and A>6
Then
A-1→A
End
// Up
If K=25 and B<85
Then
B-1→B
End
If K=26 and A<56
Then
A+1→A
End
Text(B,A,"+"
End
When I move up and left, the cursor seems to leave no trail. But when I go right....
http://imgur.com/Kk1p8
...That happens.
Is this some random bug with the OS or am I doing something wrong?
NOTE: This program was tested on an actual calc as well, so it can't be jsTIfied causing the glitch.