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

$DEVICE

1995 Version of ANSI (Equivalent to Current ISO Version) of Standard

7.1.4.10 Intrinsic special variable names svn

Syntax Definition
$D[EVICE]

$Device reflects the status of the current device. If the status of the device does not reflect any error-condition, the value of $Device, when interpreted as a truth-value, will be 0 (false). If the status of the device would reflect any error-condition, the value of $Device, when interpreted as a truth-value, will be 1 (true).

$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 nonzero 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.

This page most recently updated on 13-Sep-2014, 08:21:56.

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