Programmer Guide/Command Reference/BREAK: Difference between revisions
From STX Wiki
Jump to navigationJump to search
(→BREAK) |
(→Usage) |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:{{SUBPAGENAME}}}} | {{DISPLAYTITLE:{{SUBPAGENAME}}}} | ||
The <code>BREAK</code> immediately stops loop processing. The control flow will continue with the first command after the | The <code>BREAK</code> immediately stops loop processing. The control flow will continue with the first command after the [[../END|END]] statement of the respective loop. This command can only be used inside a loop. | ||
==Usage== | |||
BREAK | |||
==Result== | |||
The <code>BREAK</code> command does not generate a return value. Neither does it change the variable <var>RC</var>. | |||
==See also== | |||
[[Programmer_Guide/Introduction#Control_Commands|control commands]], [[../CONTINUE|CONTINUE]], [[../DO|DO]], [[../WHILE|WHILE]], [[../FOR|FOR]], [[../FOREVER|FOREVER]], [[../END|END]] | |||
<!-- C.G. 14.3.2011 --> | <!-- C.G. 14.3.2011 --> | ||
<!-- A.N. 27.4.2011 --> |
Latest revision as of 15:39, 24 April 2014
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.
Usage
BREAK
Result
The BREAK
command does not generate a return value. Neither does it change the variable RC.