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

$REFERENCE

Draft MDC Standard

7.1.4.10.13 $Reference

$R[EFERENCE]

returns the namevalue of the most recently referenced gvn, on which the current value of the naked indicator is based; for the behavior after a reference to the function $Query see 7.1.5.15. When a process is initiated, but before any commands are processed, the value of $Reference is an empty string.

The value of $Reference may be set to either the empty string, or to a namevalue, indicating a gvn. A side-effect of setting $Reference equal to the empty string is that the naked indicator will become undefined. A side-effect of setting $Reference to a namevalue is that the naked indicator will change as if the indicated gvn had been referenced.

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 15-Nov-2023, 12:09:03.

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