
AS Clause
Clauses
058057 Tandem Computers Incorporated
5–21
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:
MA
n char-string
if value is negative, print char-string in position n.
MF
char-string
if value is negative, print char-string immediately to the left of
right-justified value, immediately to the right of left-justified
value.
MP
char-string
if value is negative, print char-string immediately to the right of
value.
NA
n char-string
if value is null, print char-string in position n.
NF
char-string
if value is null, print char-string immediately to the left of right-
justified value; immediately to the right of left-justified value.
NP
char-string
if value is null, print char-string immediately to the right of
value.
PA
n char-string
if value is positive, print char-string in position n.
PF
char-string
if value is positive, print char-string immediately to the left of
value.
PP
char-string
if value is positive, print char-string immediately to the right of
value.
ZA
n char-string
if value is zero, print char-string in position n.
ZF
char-string
if value is zero, print char-string immediately to the left of right-
justified value, immediately to the right of left-justified value.
ZP
char-string
if value is zero, print char-string immediately to the right of
value.
OA
n char-string
if overflow condition occurs, print char-string in position n.
Содержание ENFORM 058057
Страница 5: ...New and Changed Information iv 058057 Tandem Computers Incorporated This page left intentionally blank...
Страница 6: ...New and Changed Information 058057 Tandem Computers Incorporated v...
Страница 18: ...Preface xvi 058057 Tandem Computers Incorporated This page left intentionally blank...
Страница 19: ...Preface 058057 Tandem Computers Incorporated xvii...
Страница 21: ...Notation Conventions xviii 058057 Tandem Computers Incorporated This page left intentionally blank...
Страница 25: ...ENFORM Terminology Introduction 1 4 058057 Tandem Computers Incorporated This page left intentionally blank...
Страница 121: ...TITLE Statement Statements 4 50 058057 Tandem Computers Incorporated This page left intentionally blank...
Страница 227: ...ENFORM Procedures ENFORM Syntax Summary A 16 058057 Tandem Computers Incorporated This page left intentionally blank...
Страница 269: ...Glossary Glossary 4 058057 Tandem Computers Incorporated This page left intentionally blank...