Default Decorations - Tandem ENFORM 058057 Reference Manual

Data management library
Table of Contents

Advertisement

Default Decorations

When decorations are not specified, ENFORM prints a negative value with a
preceding negative (–) sign. In other words, [MF'–'] is assumed.
If a decoration is specified that tests for a positive value , such as [PF'+'], the default
[MF'–'] no longer automatically applies. In this case, the negative condition must be
explicitly indicated if you want ENFORM to print the negative sign.
When an overflow condition occurs, ENFORM replaces the value by enough asterisks
(*) to fill the field. In other words, [OA1' *****...***'] is assumed. The OC char
modifier temporarily overrides the default asterisk (*) overflow character.
Examples of Decorations. Possible decorations and their meanings are:
if value is negative, print char-string in position n.
MA n char-string
if value is negative, print char-string immediately to the left of
MF char-string
right-justified value, immediately to the right of left-justified
value.
if value is negative, print char-string immediately to the right of
MP char-string
value.
if value is null, print char-string in position n.
NA n char-string
if value is null, print char-string immediately to the left of right-
NF char-string
justified value; immediately to the right of left-justified value.
if value is null, print char-string immediately to the right of
NP char-string
value.
if value is positive, print char-string in position n.
PA n char-string
if value is positive, print char-string immediately to the left of
PF char-string
value.
if value is positive, print char-string immediately to the right of
PP char-string
value.
if value is zero, print char-string in position n.
ZA n char-string
if value is zero, print char-string immediately to the left of right-
ZF char-string
justified value, immediately to the right of left-justified value.
if value is zero, print char-string immediately to the right of
ZP char-string
value.
if overflow condition occurs, print char-string in position n.
OA n char-string
058057 Tandem Computers Incorporated
Clauses
AS Clause
5–21

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enform

Table of Contents