Skip to content

global.exit

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Exit the program with the given result code

Parameters

Parameter Default Value Note
resultCode

Return value

None.

Notes

Example

errorCode = 0
// ... do work; set errorCode on failure ...
if errorCode != 0 then exit errorCode

Clone this wiki locally