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

$DEVICE

M[UMPS] by Example

Introduced in the 1995 ANSI M[UMPS] language standard.

This variable provides information about the status of the current device.

The value of $Device depends on the active mnemonicspace.

For the mnemonicspace "X3.64", the possible values are:

1 mnemonicspace not found
2 invalid controlmnemonic
3 parameter out of range
4 hardware error
5 controlmnemonic not available for this device
6 parameter not available for this device
7 attempt to move outside of boundary - not moved
8 attempt to move outside of boundary - moved to boundary
9 auxiliary device not ready

Approved for addition in a future M[UMPS] Language Standard.

The initial value of $Device is implementation-dependent. However, if the initial value of $IO is the empty string, then the initial value of $Device is also the empty string.

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 13-Sep-2014, 08:21:56.

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