AS Clause
Clauses
5–12
058057 Tandem Computers Incorporated
Mask Edit Descriptor
The mask edit descriptor specifies a display format according to a template. The
syntax is:
M
mask
mask
is a set of symbols or characters enclosed within quotation marks (“ ”),
apostrophes (‘ ’), or angle brackets (< >). The symbols in a mask that serve a
special function are:
Z
is a digit selector. Z specifies that if no digit exists, zeros are suppressed. Z
can be used with alphanumeric or numeric data. Note: only a capitol Z is the
special symbol.
9
is a digit selector. If no digit exists, zeros are printed; used for numeric data
only.
V
indicates decimal alignment for the display format. When V is specified, the
decimal point is not printed. Note: only a capitol V is the special symbol.
.
indicates decimal alignment for the display format. When the symbol .
(period) is used, the decimal point is printed.
Numeric Values.
If the mask specified for a numeric value is too small, an overflow
condition occurs.
The special symbols Z and 9 describe numeric values. If the digit selector is a 9,
ENFORM prints the corresponding data digit. If the digit selector is a Z, ENFORM
prints the corresponding data digit unless it is a leading or trailing zero. In this case,
ENFORM blank fills the position held by the zero.
Decimal point location can be indicated for numeric values by using either the
symbol . or the symbol V. When the symbol . is used, a decimal point prints. When
the symbol V is used, it indicates only decimal alignment and no decimal point prints.
If neither the symbol . nor the symbol V is specified, ENFORM assumes the decimal
point is the rightmost character of the entire mask.
Alphabetic Values.
Alphabetic values must be specified by the symbol Z in a mask edit
descriptor.
Summary of Contents for ENFORM 058057
Page 6: ...New and Changed Information 058057 Tandem Computers Incorporated v...
Page 18: ...Preface xvi 058057 Tandem Computers Incorporated This page left intentionally blank...
Page 19: ...Preface 058057 Tandem Computers Incorporated xvii...
Page 269: ...Glossary Glossary 4 058057 Tandem Computers Incorporated This page left intentionally blank...