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

Special Variables

1977 Version of ANSI Standard

1.2.8 Special Variables

The following special variables are specified.

$HOROLOG provides the date and time in a single, two-part value.
$IO identifies the currently assigned 1/0 device.
$JOB has an integer value which uniquely identifies the process which evaluates it.
$STORAGE provides the number of unused characters which remain in a routine’s partition.
$TEST makes available the truth value determined by the IF command and by the OPEN, LOCK, and READ with timeouts.
$X gives the horizontal cursor position on the current device.
$Y gives the line number on the current device.
$Z reserved for implementation-specific definitions.

All other initial letters of special variable names are reserved.

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 14-Nov-2023, 22:14:38.

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