Skip to content

EXIT-OPTION

FUNCTION

This variable controls what happens when a primary or continuation script terminates or completes.

SYNTAX

EXIT-OPTION

NOTES

  • If EXIT-OPTION contains a valid program name, that program will run when the primary or continuation script terminates.
  • If the value of EXIT-OPTION is set to “[SYSTEM]” the script will release to the operating system when it terminates.
  • If EXIT-OPTION does not contain a value, or if a run-time error occurs, the Dictionary-IV menu program (ID) will be run.

EXAMPLES

LET EXIT-OPTION = "[SYSTEM]"
LET EXIT-OPTION = "EXITPROC"

SEE ALSO

LET, TERMINATE

From the Script-IV Language Reference, version 8.9.1. Open this page in the PDF