TerminateScriptWithError (open)
Terminate the current script
Syntax
LOADLIB "wh::os.whlib";
MACRO TerminateScriptWithError(STRING error, RECORD options)
Parameters
STRING error
Error message. If empty, no error is printed.
RECORD options
Options
exitcode
Exit code, defaults to 1