Exit do: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


Exit Do is useful in loops where there is no condition specified either on the Do or on the Loop statement. Exit DO is an executable statement and is an exception to Exit followed by error- cond line-ref instructions, which are not executable.
Exit Do is useful in loops where there is no condition specified either on the Do or on the Loop statement. Exit DO is an executable statement and is an exception to Exit followed by error- cond line-ref instructions, which are not executable.
===Syntax===
[[file:exitdo.png]]


<noinclude>
<noinclude>
[[Category:Statements]]
[[Category:Statements]]
</noinclude>
</noinclude>

Revision as of 23:56, 17 January 2013

The Exit Do statement may be used to break out of a DO/LOOP structure and continue execution with the first line following the Loop statement.

Exit Do is useful in loops where there is no condition specified either on the Do or on the Loop statement. Exit DO is an executable statement and is an exception to Exit followed by error- cond line-ref instructions, which are not executable.

Syntax