contents   index   previous   next



Clib.abort()

syntax:

Clib.abort([AbortAll])

where:

AbortAll - boolean flag as to whether to abort all levels of ScriptEase execution.

 

return:

number - EXIT_FAILURE to the operating system.

 

description:

This method terminates a program, usually when a specified error occurs. This method causes abnormal program termination and should only be called on a fatal error. This method exits, without returning to the caller, and returns EXIT_FAILURE to the operating system.

 

If the boolean AbortAll is true, this method aborts through all levels of ScriptEase interpretation. If you are in multiple levels of SElib.interpret(), .abort() aborts through all SElib.interpret() levels.

 

see:

Clib.assert()

 

 


Clib.assert()