Programmer Guide/Command Reference/BREAK: Difference between revisions

From STX Wiki
Jump to navigationJump to search
Line 1: Line 1:
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
==BREAK==
The <code>BREAK</code> immediately stops loop processing. The control flow will continue with the first command after the <code>[[Programmer Guide/Command Reference/END|END]]</code> statement of the respective loop. This command can only be used inside a loop (see <code>[[Programmer Guide/Command Reference/DO|DO]]</code>, <code>[[Programmer_Guide/Command_Reference/WHILE|WHILE]]</code>, <code>[[Programmer_Guide/Command_Reference/FOREVER|FOREVER]]</code>, and <code>[[Programmer_Guide/Command_Reference/FOR|FOR]]</code>).
The <code>BREAK</code> immediately stops loop processing. The control flow will continue with the first command after the <code>[[Programmer Guide/Command Reference/END|END]]</code> statement of the respective loop. This command can only be used inside a loop (see <code>[[Programmer Guide/Command Reference/DO|DO]]</code>, <code>[[Programmer_Guide/Command_Reference/WHILE|WHILE]]</code>, <code>[[Programmer_Guide/Command_Reference/FOREVER|FOREVER]]</code>, and <code>[[Programmer_Guide/Command_Reference/FOR|FOR]]</code>).
<!-- C.G. 14.3.2011 -->
<!-- C.G. 14.3.2011 -->

Revision as of 16:15, 14 March 2011

The BREAK immediately stops loop processing. The control flow will continue with the first command after the END statement of the respective loop. This command can only be used inside a loop (see DO, WHILE, FOREVER, and FOR).

Navigation menu

Personal tools