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

Error Code M50

M[UMPS] by Example

M50, Attempt to reference a non M-Term window in an OPEN command

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

An MTERM window is opened by specifying the "MTERM" mnemonic-space in an Open command. If the device that is being OPENed does not yet exist as a window in the structured system variable ^$Window, a window is created in ^$Window, with its window name equal to the name of the device specified in the Open command, and its TYPE attribute equal to "MTERM".
If the device specified in the Open command already exists in ^$Window, and its TYPE attribute is not equal to "MTERM", this error will occur. For this error, there is no corresponding value in special variable $ERef.

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

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-2024 MUMPS Development Committee;
Copyright © Examples: 1995-2024 Ed de Moel;
Copyright © Annotations: 2003-2008 Jacquard Systems Research
Copyright © Annotations: 2008-2024 Ed de Moel.

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 16-Nov-2023, 14:49:26.

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