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

$DEVICE

Draft MDC Standard

7.1.4.10.1 $Device

$D[EVICE]

reflects the status of the current device. If the status of the device does not reflect anysignificant change of status, the value of $Device, when interpreted as a truth-value, will be 0 (false). If there would have been a significant change to the status of the device, the value of $Device, when interpreted as a truth-value, will be 1 (true). When a process is initiated, but before any commands are processed, the value of $Device is an empty string if $IO is given a value which is the empty string, otherwise it is given an implementation-dependent value.

$Device will give status code and meaning in one access. Its value is one of

   


M
M,I
M,I,T



where M is an MDC defined value, I is an implementor defined value and T is explanatory text.

The value of M, when interpreted as a truth value, will be equal to 0 (zero) when no significant change of status is being reported. Any non-zero value indicates a significant change of status.

The value of I is an implementation-specific value for the relevant status-information.

The value of T is implementation specific.

Note: Since M, I, and T are separated by commas, the values of M and I cannot contain this character.

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

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