
6.MACRO EXECUTOR FUNCTION B-63943EN-2/01
- 142 -
- Address Z
Address Z specifies whether to suppress leading zeros when a
numeric value is displayed. When Z is equal to 0, the sign is not
displayed.
Z=0 : Does not suppress leading zeros.
=1 : Suppresses leading zeros.
Example
1 G243 D-123.4567 F8.3 Z1;
"∆∆-123.457" is displayed. (10-character display)
2 G243 D-123.4567 F8.3 Z0;
"00123.457" is display. (9-character display)
3 G243 D-123.4567 F8.0 Z1;
"∆∆∆∆-123" is displayed. (9-character display)
4 G243 D-123.4567 F8.0 Z0;
"00000123" is displayed. (8-character display)
(∆ represents a space.)
NOTE
The number of digits of the integer part, which is
equal to the number of display digits minus the
number of decimal places, both specified for
address F, must be equal to or greater than the
number of digits of the integer part of the numeric
value specified for address D. Otherwise, the
numeric value is not displayed correctly.
- Limitation
NOTE
1 Character strings are displayed in the order in
which they are specified.
2 The same address cannot be specified twice.
3 F, Z, and Q become effective first.
4 Up to five character strings enclosed in any of
( and ), (' and '), and (* and *) can be specified in a
single block, in total.
5 Up to 255 characters can be specified in a single
block, in total.