BREAK
From TVPaintWiki
Revision as of 12:49, 22 December 2009 by KenC (Talk | contribs) (Created page with '{{LangRefCatCrumbs}} BREAK Stops the loop being executed. This instruction can be used to quit the DO...UNTIL, FOR, IF, WHILE prematurely. Example : <pre> // count up to 10…')
<<<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