SETEXITCODE |
Top Previous Next |
Syntax SETEXITCODE(nCode as INT) Description Sets the exit code for your process. Parameters nCode - Exit code to return to windows. Return value None. Remarks The default exit code for a process is 0. Use this statement before END to report a different code. Console programs sometimes use this to indicate an error by returning -1. Example usage SETEXITCODE -1
|