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 fn

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

EXIT FN statement EXIT FN Statement ✔ Appearance ✔ Standard ✔ Console Syntax EXIT FN Description When used inside a LOCAL FN function, this statement causes the program to jump immediately to the END FN statement. The function then exits, passing back the value (if any) specified in the END FN statement. This is useful when, for example, you wish to break out of a loop and quit the function immediately; EXIT FN is a safer way to do this than using something like GOTO. Note: You should not use the EXIT FN statement outside of a LOCAL FN function. See Also LOCAL FN; END FN; GOTO; EXIT <label>