Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo Basic - <b>exit exit structure</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
EXIT                     Exit Structure

 EXIT {DEF | FOR | IF | LOOP | SELECT | SUB | WHILE}

    Immediate exit from within a function definition, a FOR/NEXT loop, an
    IF/THEN/ELSE block, a DO/LOOP loop, a SELECT block, a procedure
    (subprogram), or a WHILE/WEND loop.

   -------------------------------------------------------------------------

      Notes:    This statement is usually used to break out of a structure
                because some condition has been met.

                Make sure that a function assigns its return value before
                it EXITs.

See Also: DEF FN FOR IF DO SELECT SUB...END SUB WHILE

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson