Enform Plus Reference Manual
Clauses
Enform Plus Reference Manual—422684-001
5-19
Decorations
location
is one of the following:
char-string
is one or more alphanumeric characters enclosed within apostrophes (‘ ’).
The following rules apply to decorations:
•
Separate multiple decorations by commas.
•
Enclose decorations in brackets along with any modifiers.
•
Specify decorations immediately before the edit descriptor they modify.
•
Enclose decorations and the edit descriptors they modify in quotation marks (“ ”).
Enform Plus evaluates decorations from left to right.
You are responsible for ensuring that the display format width is large enough to contain
both the target-item or by-item value and the inserted character string.
Conditions
The condition specifiers (negative, positive, zero, null, or overflow) indicate that a
character string is printed only when the specified condition occurs. A null condition
takes precedence over negative, positive, and zero conditions. The overflow condition
test is done after the other conditions are tested. Conditions specified for alphanumeric
target-items or by-items can be positive or null only.
More than one condition specifier can exist for a decoration. Conditions are coded
without separators.
Location
The location specifier indicates where the character string prints in relation to the value
of the target-item or by-item. The uses of the location specifiers are as follows:
•
The A location specifier indicates the character string is to be printed starting in the
absolute position n.
•
The F specifier indicates the character string is to occupy the position or positions
immediately to the left (for right-justified values) of the leftmost data character. If
the value is left-justified, the F specifier indicates the character string occupies the
position or positions immediately to the right of the rightmost data character.
•
The P location specifier indicates that prior to normal formatting, the string is to be
inserted in either the rightmost position (for right-justified values) or the leftmost
An
Absolute position n
F
Floating
P
Prior