STOP
Used in a program to terminate execution prematurely. When the command is executed, the program halts and the message:
STOP AT line-no
will be printed.
Program Example.
00100 FOR I = 1 TO 100
00110 PRINT I
00120 IF I = 20 THEN STOP
00130 NEXT I
Try it
See also CONT