EXIT
 
Syntax

EXIT
Description

Leaves a code block such as a  DO...LOOP, FOR...NEXT, or a WHILE...LOOP block.
Example

'e.g. the print command will not be seen

DO
        EXIT  ' Exit the DO...LOOP 
        PRINT "i will never be shown"
LOOP

Differences from other BASICs

See also