[<<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
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson