EXIT Command

Example   See Also

Exits a DO WHILE, FOR, or SCAN loop.

Syntax

EXIT

Remarks

EXIT transfers control from within a DO WHILE ... ENDDO, FOR ... ENDFOR, or SCAN ... ENDSCAN loop to the command immediately following ENDDO, ENDFOR, or ENDSCAN.