Cold Help System: Programming: ColdC Reference Manual: Language Structure: Statements: Looping Statements: break


The break statement is used to exit a looping statement prematurely. The break statement has the following syntax:

break;

The interpreter jumps to the end of the innermost for-list, for-range, or while statement and continues executing. It is important to note this, as when executing multiple nested looping statements the break statement will only break out of the innermost loop.


for-list | for-range | while | break | continue


Tlon