Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

VAXTPU SET(SPECIAL_ERROR_SYMBOL) — VMS 5.2

 SET(SPECIAL_ERROR_SYMBOL)

 Designates the global variable that you want VAXTPU to set to 0 when a
 case-style error handler handles a CTRL/C.

 Syntax

 SET (SPECIAL_ERROR_SYMBOL, string)

 Parameter

    string     The name of the global variable that you want VAXTPU to set
               to 0 when an error handler handles a CTRL/C.

 Comments

    Once you designate the variable that is to be the special error symbol,
    VAXTPU sets the variable to 0 if either of the following events occur:

     o  VAXTPU executes the TPU$_CONTROLC selector in a case-style error
        handler, or

     o  VAXTPU executes the OTHERWISE clause in a case-style error handler
        and does not encounter a RETURN statement

    You can only use SET (SPECIAL_ERROR_SYMBOL) once in a program.  You
    must declare or create the variable before you use it in the SET
    statement.  VAXTPU does not clear the variable in response to
    non-case-style error handlers.

    The variable specified by SET (SPECIAL_ERROR_SYMBOL) can be used to
    determine whether VAXTPU has exited from current procedures and has
    returned to waiting for a new keypress.

 Example

    The following statement designates the global variable "mork" as the
    variable to be cleared if VAXTPU executes the TPU$_CONTROLC selector in
    a case-style error handler:

    SET (SPECIAL_ERROR_SYMBOL, mork)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026