User Tools

Site Tools


setexitcode_set_program_exit_code_.htm
Navigation:  Language Reference > 13 - Built-in Functions >====== SETEXITCODE (set program exit code) ====== Previous pageReturn to chapter overviewNext page

NewC7.jpg

SETEXITCODE( exit code )

blk2blue.jpg

SETEXITCODE Sets the program's exit code.
exit code A positive integer constant or variable which is the exit code to pass to DOS, setting the DOS ERRORLEVEL. If omitted, the default is zero.

SETEXITCODE is used to set a program's exit code (error level). This is useful in displaying some meaningful message or action without the necessity of closing the program immediately.

See Also: GETEXITCODE

setexitcode_set_program_exit_code_.htm.txt · Last modified: 2021/04/15 15:57 (external edit)