The exit
function is used to set the ERRORLEVEL of the batch execution.
var batch = new Batch();
batch.exit(1);
Calling | Returning |
---|---|
batch. exit ( level ) |
Batch |
Parameters | Type | Description |
---|---|---|
level |
Number |
An integer for ERRORLEVEL. |