Function 4Ch (76) Terminate a Process (EXIT)
Ends a program and returns a code to the calling process.
On entry: AH 4Ch
AL Return code
Returns: Nothing
--------------------------------------------------------------------------
This function is the proper method of terminating a program in DOS
versions 2.0 and above. It closes all files, and hands control back to
the parent process (usually COMMAND.COM), along with the return code
specified in AL.
Notes: The return code may be tested by means of Function
4Dh or the DOS ERRORLEVEL command.
Seealso:
This page last updated on Fri Nov 30 10:49:50 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster