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

$KEY

Draft MDC Standard

7.1.4.10.9 $Key

$K[EY]

contains the control-sequence which terminated the last Read command from the current device (including any introducing and terminating characters). If no Read command was issued to the current device or when no terminator was used, the value of $Key will be the empty string. The effect of a Read *glvn on $Key is unspecified. When a process is initiated, but before any commands are processed, the value of $Key is an empty string if $IO is given a value which is the empty string, otherwise it is given an implementation-dependent value.

If a Character Set Profile input-transform is in effect, then this transformation is also applied to the value stored in $Key. Certain mnemonicspaces may also specify that $Key contains values as a result of other I/O commands.

See (Read command) and (Write command).

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:20:03.

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