Enform Plus Reference Manual
Clauses
Enform Plus Reference Manual—422684-001
5-8
AS Clause
where
"["decorations"]"
specify character strings that can be added to a report-item depending on a
condition. The syntax is as follows:
conditions location char-string
where
conditions
are one or more of the following:
location
specifies where the character string is to be printed:
char-string
is one or more alphanumeric characters enclosed within apostrophes (‘ ’).
w specifies the width of the report-item.
m specifies the number of digits that appear to the left of the decimal for
fixed-point values and the minimum number of digits for integer
values
d specifies the number of digits to the right of the decimal.
mask is a combination of the characters 9, Z, V, . (period) and literals. The
combination must be enclosed within apostrophes (‘ ’) or greater-than
and less-than symbols (< >).
M add char-string if value is negative.
N add char-string if value is null.
P add char-string if value is positive.
Z add char-string if value is zero.
O add char-string if overflow condition occurs.
An indicates char-string is to be printed at absolute position n.
F indicates char-string is to be inserted after the value is
formatted. If condition is satisfied, char-string is printed
immediately to the left of the item value.
P indicates char-string is inserted before the value is formatted.
If condition is satisfied, char-string is printed to the right
of the value.