Library /sys$common/syshlp/tpuhelp.hlb
ERROR_TEXT

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

  ERROR_TEXT

  Returns the text of the latest error message generated by DECTPU.  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
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.