terminate Instruction
The terminate instruction terminates all active methods.
Syntax
The syntax of the terminate instruction is:
terminate;
Description
The terminate instruction cuts back the execution stack and then returns the following result to the controlling application.
APPLICATION_TERMINATED (1209)
If the application is a standard Jade application controlled by the jade.exe Jade application program, an orderly shutdown of the application is invoked.
The epilogs of the active methods are executed (as in the case of exceptions, which are resumed or aborted) and any already-queued notifications or elapsed timer events continue to be processed before the application is finally shut down.