IMAGE specifiers have the following meanings in DISP, LABEL, OUTPUT, and PRINT statements:
|
Specifier
|
Meaning
|
|
#
|
Suppress automatic output of EOL following the last item.
|
|
%
|
Is ignored in OUTPUT images.
|
|
K
|
Output a number or string in default format, with a period for the radix.
|
|
-K
|
Means the same thing as K.
|
|
H
|
Output a number or string, default format, comma radix.
|
|
-H
|
Means the same thing as H.
|
|
Specifier
|
Meaning
|
|
B
|
Output a byte, like the CHR$ function. If the value is larger than 32767, 255 is sent. If the value is smaller than -32768, 0 is sent. If the value is in between, it is rounded to an integer and the least significant byte (CINT(value) MOD 256) is sent.
|
|
W
|
Output a word in 2’s complement 16-bit integer form. If the value is larger than 32767, 32767 is sent. If the value is smaller than -32768, -32768 is sent. If the interface is 16-bit, the word is output in one operation (even if the BYTE attribute was used in the I/O path). If the interface is 8-bit, the byte ordering depends on the LSB/MSB attribute of the I/O path. If the destination is a string, native byte ordering is always used (LSB FIRST on a PC, MSB FIRST on a Sun or HP Workstation). If the WORD attribute was specified in the I/O path, a pad byte will be output before the word when necessary to achieve word alignment.
|
|
Y
|
Means the same as W, except that word alignment is not done, and the BYTE attribute is not ignored.
|
|
+
|
Change the automatic output of EOL to carriage-return after the last item.
|
|
-
|
Change the automatic output of EOL to line-feed after the last item.
|
|
M
|
Output a minus sign if negative, a blank if positive.
|
|
S
|
Output the sign of the number (+ or -).
|
|
D
|
Output one numeric digit character. The leading zeros are replaced by blanks; a minus sign is displayed on negative numbers.
|
|
Z
|
Means the same thing as D except leading zeros are displayed.
|
|
*
|
Means the same thing as D except leading zeros are replaced with asterisks.
|
|
.(period)
|
Output a decimal-point radix indicator.
|
|
R
|
Output a comma radix indicator.
|
|
E
|
Output an ‘E’, a sign character, and a two-digit exponent.
|
|
ESZ
|
Output an ‘E’, a sign character, and a one-digit exponent.
|
|
ESZZ
|
Output an ‘E’, a sign character, and a two-digit exponent.
|
|
ESZZZ
|
Output an ‘E’, a sign character, and a three-digit exponent.
|
|
A
|
Output an alphanumeric string character.
|
|
X
|
Output a blank.
|
|
/
|
Output a carriage-return and line-feed.
|
|
L
|
Output the current EOL sequence. The default is CR/LF.
|
|
@
|
Output a form-feed character.
|
|
"string literal"
|
Output the characters in the string literal. Remember to double the quote marks when the IMAGE is inside a string literal.
|
|