Exit do

From BR Wiki
Revision as of 16:15, 24 April 2014 by Laura (talk | contribs) (→‎Syntax)
Jump to navigation Jump to search

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

EXIT DO