EXIT


Language keyword EXIT


10
20  EXIT [FOR|LOOP|SUB|FUNC]
30
Exits a multi line function definition, a loop, or a subprogram. By default (if no parameter is specified) exits from last command block (loop, for-loop or routine).


See examples


If there is insufficient information on this page and you wish learn more about EXIT, please send an email to smallbasic@gmail.com. You can help to improve information about EXIT by submitting an article using the comments link below. Note, an offline language reference text file is now avialable – see the Download section.

  • FOR – Exit from the last FOR-NEXT loop
  • LOOP – Exit from the last WHILE-WEND or REPEAT-UNTIL loop
  • SUB – Return from the current routine
  • FUNC – Return from the current function