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 case

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

EXIT structure statement EXIT <structure> Statements ✔ Appearance ✔ Standard ✔ Console Syntax EXIT CASE EXIT DO EXIT FOREXIT NEXTEXIT UNTIL EXIT WEND EXIT WHILE Revised May 30, 2000 (Release 3) Description When used inside a FOR/NEXT loop, WHILE/WEND conditional, DO/UNTIL conditional, or in a SELECT CASE structure, this statement causes the program to jump immediately to the line following the NEXT, WEND, UNTIL, or END SELECT statement. This is useful when, you wish to break out of a loop because a certain condition has been met. EXIT is a safe way to do it. Example: FOR x = 1 TO 10   IF FN BUTTON THEN EXIT FORNEXT x See Also FOR; While; Do; Select Case