Skip to content

ESCAPE

FUNCTION

This variable can be used in a script to enable or disable the standard escape processing initiated by pressing the Escape key.

SYNTAX

ESCAPE

NOTES

  • Default processing can be enabled or disabled by setting the value of the ESCAPE variable. A value of “N” disables the ability to end script execution. A value of “Y” enables the ability to end script execution.

  • Standard escape processing checks the ESCAPE variable to see if it is enabled or disabled. If enabled, the system prompts:

    Terminate (Y/N)?

    The operator has a choice to end script execution.

  • Custom escape processing controlled by the ESCAPE-KEY command overrides standard escape processing determined by the ESCAPE variable.

  • If the standard escape processing is disabled and no custom escape processing is used, the operator will not be able to end script execution by pressing the Escape key.

EXAMPLES

LET ESCAPE = "N"
LET ESCAPE = "Y"

SEE ALSO

ESCAPE-KEY, and the section on Escape Processing in the Script-IV Developer Guide.

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