Please enable JavaScript to view this site.

ESL Documentation

Action Statement

Terminate the current ESL program.

exit [EXIT_CODE]

EXIT_CODE

An integer value representing a code to be returned upon program termination.

Description

Specify this statement as the final statement in the set of action statements in the response definition for terminating a program. Statements occurring after the exit statement will not be executed.

Example

 

response to ExitKey

 send ShutdownMessage to Audit

 exit

 

response to ExitKey

 send ShutdownMessage to Audit

 exit ExitCode

See Also

change to program Action Statement