|Top Previous Next|
Returns control to the first statement following the loop. The loop is terminated prematurely.
The EXIT command can be located anywhere inside a loop. When used inside nested loops, the command applies to the innermost looping statement only.
Execution control is returned to the statement following the loop block.
DO WHILE...ENDDO Command