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 Pascal - <b> exit exit the current block pp 135</b> http://www.X-Hacker.org [<<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

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