QUITS A SUBROUTINE WITHOUT EXECUTING END_SUB
ACTION
The command EXIT_SUB quits a subroutine whithout executing END_SUB
SYNTAX:
EXIT_SUB
USE ERROR EXAMPLE
dim i%
for i%=1 to 10
to_printer(i%)
next i%
end
sub to_printer(j%)
rem exit if j% is 5 or 6 or 7
if (j%=5) or (j%=6) or (j%=7) then exit_sub
print j%
end_sub
EXIT_SUB
EXIT_SUB
SEE ALSO
SUB
END_SUB