IntControl 64


IntControl (64, 0, 0, 0, 0)


Gets the exit code returned by the last program run.

This function gets the exit code (also known as the "errorlevel") that was returned by the program that was most-recently run using RunWait, RunShell or RunWithLogon with the @WAIT flag specified. If no program has been run, or if the last-run program was not run in @WAIT mode, this function will return 99999.