Language keyword EXIT

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