Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Futurebasic/Language/Reference/exit

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

EXIT <label> statement EXIT <label> Statement ✔ Appearance ✔ Standard ✔ Console Syntax EXIT "label" Revised January 2, 2001 (Release 4) Description This statement causes the program to jump to the statement following the indicated label. Unlike the GOTO statement, the EXIT <label> statement makes sure that any loops, LONG IF blocks, LOCAL FN's, etc., that are being "jumped out" of get properly closed, so that the stack will be in a consistent state. If an EXIT "Label" is in the main program, the "Label" must be inside the main. If an EXIT "Label" is in a LOCAL FN, the "Label" must be inside the same LOCAL FN. If an EXIT "Label" is nested inside one or more SELECT [CASE] statements, the "Label" must be after the last END SELECT. Any exceptions to the above conditions could result in substantial penalties or crashes. See Also GOTO; EXIT FN