The Stop Command
Stops the program at the given point of the program
No special syntax
Menu Location
In the program editor, [F2][8][4]
This command works on all calculators.
X byte(s)
Simply put, the Stop command stops the program wherever it is placed.
stop()
Prgm
0->X
While true
getkey()->k
x+1->x
Output 5,5,x
If k=13
Stop
EndWhile
EndPrgm
This program will increase the value of x by one, but when the user presses the ENTER button, it will stop. Keep in mind to put the Stop EXACTLY where you want it to stop.