[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 EXIT                      Exit the Current Block                     pp 135

 Syntax:  Exit ;

 Type:    N/A

 Form:    Procedure

 Purpose: Exit the current code block.           .

 Notes:   If exit is called in a subroutine block, the program returns to
          the subroutine caller.
          If exit is called in the main line section the program terminates.


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


 Usage:
       BEGIN            { Main line section                      }
          Begin         { Subroutine section                     }
            Exit    ;   { Exit from subroutine back to main line }
          End       ;
          Exit      ;   { Exit from main line to DOS             }
       END.

See Also: Halt
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson