EXIT - end job and return status.

Usage:

exit
 or
exit(status);

Where:

status
is an optional integer status that will be returned in bits 18-26 of the program switch word. If a status is not supplied, zero is assumed.

Description:

EXIT closes all currently open files and returns control to the operating system. It is implicitly called when the procedure "main" terminates, but may be called by the user directly rather than using a "goto" to the end of "main".

Copyright © 1996, Thinkage Ltd.