Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples
Left Hand Pointer

MWAPI - Error Information

M[UMPS] by Example

 

Special variables -- $EREF

$ER[EF]

Introduced in the 1995 ANSI M[UMPS] Windowing Application Programmer's Interface standard.

The value of this special variable is the name of the node in ^$WINDOW that was involved in the most recent error that occurred.

Assuming that there is no button defined with the name "something wrong",
SET ^$WINDOW("DEMO","DEFBUTTON")="something wrong"
will cause an error with $ECODE containing ",M52," and $EREF equal to the canonic form of the name of the above reference to ^$WINDOW.

Button for 1977 Button for 1984 Button for 1990 Button for 1995 Button for MDC Button for notes Button for examples

Copyright © Standard Documents; 1977-2017 MUMPS Development Committee;
Copyright © Examples: 1995-2017 Ed de Moel;
Copyright © Annotations: 2003-2017 Jacquard Systems Research.

The information in this page is NOT authoritative and subject to be modified at any moment.
Please consult the appropriate (draft) language standard for an authoritative definition.

Some specifications are "approved for inclusion in a future standard". Note that the MUMPS Development Committee cannot guarantee that such future standards will indeed be published.

This page most recently updated on 28-Nov-2011, 21:33:07 .

For comments, contact Ed de Moel (demoel@jacquardsystems.com)