Mask Edit Descriptor - Tandem ENFORM 058057 Reference Manual

Data management library
Table of Contents

Advertisement

Clauses
AS Clause
5–12

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:
is a digit selector. Z specifies that if no digit exists, zeros are suppressed. Z
Z
can be used with alphanumeric or numeric data. Note: only a capitol Z is the
special symbol.
is a digit selector. If no digit exists, zeros are printed; used for numeric data
9
only.
indicates decimal alignment for the display format. When V is specified, the
V
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.
058057 Tandem Computers Incorporated

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enform

Table of Contents