Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

VAXTPU ERROR_TEXT — VMS 5.2

 ERROR_TEXT

 Returns the text of the latest error message generated by VAXTPU.  The
 value returned by ERROR_LINE is only meaningful inside an error handler.
 The value outside of an error handler is indeterminate.

 Syntax

    string := ERROR_LINE

 Parameters

    none

 Example

 The following code fragment is an error handler that uses ERROR_TEXT to
 report what error occurred:

    ON_ERROR
      MESSAGE (ERROR_TEXT);
      MESSAGE ("Error on line " + STR (ERROR_LINE);
      RETURN;
    ENDON_ERROR;

 Related Topics

    ERROR   ERROR_LINE   MESSAGE_TEXT

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