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

Error Code M52

M[UMPS] by Example

Right Hand Pointer

M52, Required attribute missing

Introduced in the 1995 ANSI M[UMPS] Windowing Application Programmers' Interface.

If an application attempts to assign a value to an attribute while not all criteria to be allowed to do so are met, this error will occur. After this, special variable $ERef will contain a value that indicates the reference to the structured system variable for which the error occurred.

For a DEFBUTTON attribute the criteria that need to be met are:

For gadgets and for menus not displayed as menu bars or as submenus the criteria that need to be met are:

For a symbol gadget the criterion that needs to be met is:

For a generic box or a group frame gadget the criterion that needs to be met is:

For all gadgets a criterion that needs to be met is:

In earlier printed versions of the 1995 ANSI M[UMPS] Windowing Application Programmers' Interface, this error was identified as M?7.

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 13-Sep-2014, 10:20:14 .

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