Futurebasic/Language/Reference/exit

= EXIT &lt;label&gt; statement =

Statement
✔ Appearance ✔ Standard ✔ Console

Revised
January 2, 2001 (Release 4)

Description
This statement causes the program to jump to the statement following the indicated label. Unlike the  statement, the   statement makes sure that any loops,   blocks,  's, etc., that are being "jumped out" of get properly closed, so that the stack will be in a consistent state.

If an  is in the main program, the   must be inside the main. If an  is in a , the   must be inside the same. If an  is nested inside one or more   statements, the   must be after the last.

Any exceptions to the above conditions could result in substantial penalties or crashes.