☜ | format in READ and WRITE1984 Version of ANSI Standard | ☞ |
The format, which can appear in READ and WRITE commands, specifies output format control. The parameters of format are processed one at a time, in left-to-right order.
format | ::= | │ │ │ │ │ |
? intexpr |
│ │ │ │ │ |
See also the transition diagram for format.
The parameters, which need not be separated by commas when occurring in a single instance of format, may take the following forms.
! | causes a "new Line" operation on the current device. Its effect is the equivalent of writing CR LF on a pure ASCII device. In addition, $X is set to 0 and 1 is added to $Y. |
# | causes a "top of form" operation on the current device. Its effect is the equivalent of writing CR FF on a pure ASCII device. In addition, $X and $Y are set to 0. When the current device is a display, the screen is blanked and the cursor is positioned at the upper left-hand corner. |
? | intexpr produces an effect similar to "tab to column intexpr". If $X is greater than or equal to intexpr, there is no effect. Otherwise, the effect is the same as writing (intexpr - $X) spaces. (Note that the leftmost column of a line is column 0.) |
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 29-Nov-2011, 20:05:08.
For comments, contact Ed de Moel (demoel@jacquardsystems.com)