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

$X

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

7.1.4.10 Intrinsic special variable names svn

Syntax Definition
$X

$X has a nonnegative integer value which approximates the value of the horizontal co-ordinate of the active position on the current device. It is initialized to zero by any control-function or format that involves a move to the start of a line.

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 be an error-code.

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.17 (Read command) 8.2.23 (Use command) and 8.2.25 (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.

This page most recently updated on 15-Nov-2023, 13:07:11.

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