Programmer Guide/Command Reference/BREAK: Difference between revisions

From STX Wiki
Jump to navigationJump to search
No edit summary
Line 2: Line 2:
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.  
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==
==Usage==
:<code>BREAK</code>
<code>BREAK</code>
==Result==
==Result==
The <code>BREAK</code> command do not generate a return value and do also not change the variable <code>RC</code>.
The <code>BREAK</code> command do not generate a return value and do also not change the variable <code>RC</code>.

Revision as of 11:36, 27 April 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.

Usage

BREAK

Result

The BREAK command do not generate a return value and do also not change the variable RC.

See also

control commands, CONTINUE, DO, WHILE, FOR, FOREVER, END

Navigation menu

Personal tools