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

$Y

Draft MDC Standard

7.1.4.10.21 $Y

$Y

has a non-negative integer value which approximates the value of the vertical co-ordinate of the active position on the current device. It is set to zero by any control-function or format that involves a move to the start of a page. When a process is initiated, but before any commands are processed, the value of $Y is 0 if $IO is given a value which is the empty string, otherwise it is given an implementation-dependent value.

The unit in which $Y is expressed is initially equal to ‘lines’. Certain formats may change this.

When any control-function would leave the cursor in a position so that the vertical co-ordinate would be uncertain, the value of $Y will not be changed. In such cases, the value of $Device will reflect this status.

If a Character Set Profile input-transform is in effect, then $Y is modified in accordance with the input prior to any transform taking place. If a Character Set Profile output-transform is in effect, then $Y is modified in accordance with the output after any transform takes place.

See 8.2.27 (Read command) 8.2.35 (Use command) and 8.2.37 (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 15-Nov-2023, 13:07:44.

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