☜ | $XDraft MDC Standard | ☞ |
has a non-negative integer value which approximates the value of the horizontal 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 line. When a process is initiated, but before any commands are processed, the value of $X 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 $X is expressed is initially equal to ‘characters’. Certain formats may change this.
When any control-function would leave the cursor in a position so that the horizontal co-ordinate would be uncertain, the value of $X 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 $X is modified in accordance with the input prior to any transform taking place. If a Character Set Profile output-transform is in effect, then $X 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).
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:11.
For comments, contact Ed de Moel (demoel@jacquardsystems.com)