contents   index   previous   next



Clib.exit()

syntax:

Clib.exit(code)

where:

code - status number to return to the operating system.

 

return:

number - the status code of the exit is returned to the operating system from which a script was called.

 

description:

This method causes normal program termination. It calls all functions registered with Clib.atexit(), flushes and closes all open file streams, updates environment variables if applicable to this version of ScriptEase, and returns control to the OS environment with the return code of status.

 

see:

Clib.atexit()

 

 


Clib.system()