BREAK
From TVPaintWiki
<<<George<<<George Language Reference
BREAK
Stops the loop being executed. This instruction can be used to quit the DO...UNTIL, FOR, IF, WHILE prematurely.
Example :
// count up to 10 FOR i = 1 TO 20 PRINT i if(a == 20) BREAK END END