Stops program execution and returns to the operating system.
procedure Halt [ ( Exitcode: Word ) ];
Exitcode is an optional expression that specifies the exit code of your
Windows, Real, Protected
Initiates execution of anyprocedures. 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.