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

Effect on $KEY

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

1.2 Control-functions with an effect on $Key

Currently only one controlmnemonic may have a side-effect on special variable $Key: /DSR (device status report). The side-effect depends on the value of the parameter of this function: parameter-value 0 or 5 will cause a status report to be returned, parameter-value 6 will cause the active cursor-position to be returned. The format of the value returned is:

$Char(27,91)_REPORT_$Char(110)

or

$Char(27,91)_Y_$Char(59)_X_$Char(82)

where REPORT is a code for the status reported, Y is the value of the current Y-coordinate and X is the value of the current X-coordinate.

The values described will be reported in special variable $Key as a side-effect of the first Read command that is executed after the control-function has been issued.

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 28-Nov-2011, 21:33:04.

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