This function will cause a currently running program to terminate. It will first CloseLibrary(ArpBase), which will cause all tracked resources to be freed. It will then force DOS to unload your program, returning the error code to the CLI.
INPUTS
ReturnCode
- The integer value you wish to return. By convention, 0 means a normal exit.
Fault
- If ReturnCode is non-zero, this value is the ADOS error code which is used with the "Why" program, in pr_Result2. ( If ReturnCode is ZERO, pr_Result2 will be set to 0).