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

MWAPI - MTERM Window

Draft MDC Standard

5.1.1 MTERM Windows

An MTERM window is opened by specifying the "MTERM" mnemonicspace in the OPEN command. If the device (i.e. the first expr in the openargument) specified in the OPEN command does not exist as a wname in ^$WINDOW, a window is created with wname equal to the device name and TYPE wattribute equal to "MTERM". If the device specified in the OPEN command exists as a wname in ^$WINDOW and that window’s TYPE wattribute is equal to "MTERM", any attributes specified for that window are used. If the device specified in the OPEN command exists as a wname in ^$WINDOW and that window’s TYPE wattribute is not equal to "MTERM", an error condition occurs with an ecode = "M50".

Opening an MTERM window enables it to be seen by the user provided that it is not obscured by another window or positioned outside the visible area of its display.

If an M[UMPS] CLOSE command designates an MTERM window that was created by the execution of an OPEN command, the window is destroyed. If an M[UMPS] CLOSE command designates an MTERM window that was created by the assignment of values to attributes in ^$WINDOW, the CLOSE command does not cause the window to be destroyed. If an application attempts to destroy an open MTERM window with an M[UMPS] KILL command, an error condition occurs with an ecode = "M51" and $EREF containing a value that indicates the ssvn reference for which the error occurred.

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.

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 14-Nov-2023, 21:58:45.

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