9.8 'break/BREAK' statement

----------------------------

A 'break' statement interrupts (aborts) 'do-while', 'for', 'switch',

'while', 'loop', 'loopnz', and 'LOOPNZ'. It can only be used in the body of

these statements. Control is passed to the statement following the

interrupted loop.

'BREAK' is similar to 'break' but generates code 1 byte shorter. The

code from the spot where 'BREAK' is used to the end of the loop must be

less than 127 bytes long.

Example:

FOR (i=0; ; i++){

FOR(j=0; j<WIDTH; j++){

IF(i==5)BREAK;

}

IF(i==10)BREAK;

}