Language:
Русский
English
Halt (procedure)
Stops program execution and returns to the operating system.
Declaration
procedure Halt [ ( Exitcode: Word ) ];
where:
Exitcode is an optional expression that specifies the exit code of your
program.
Target
Windows, Real, Protected
Remarks
Initiates execution of any Exit procedures. The exit code can be examined by a parent process using DosExitCode in the Dos unit, or through an ERRORLEVEL test in a DOS batch file.