[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 HALT                    Terminate Program Execution                  pp 135

 Syntax:  Halt (ReturnCode) ;

 Type:    Integer

 Form:    Procedure

 Purpose: Terminate and return to DOS with return code.

 Notes:   ReturnCode is optional.  If none is specified, 0 is returned.


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


 Usage:
       BEGIN
          Halt (1) ;    { Set DOS ErrorLevel = 1 and terminate }
       END.

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