Alphanumeric Edit Descriptor - Tandem ENFORM 058057 Reference Manual

Data management library
Table of Contents

Advertisement

Clauses
AS Clause
5–10

Alphanumeric Edit Descriptor

The alphanumeric edit descriptor specifies the target-item or by-item is to be printed
using alphanumeric display format. The syntax is:
A [ w ]
w
is an unsigned integer that specifies the width in characters of the value of the
target-item or by-item to be printed. The maximum value for w is 255 characters.
If you specify w, ENFORM prints the number of characters specified for the value of
the target-item or by-item. If you omit w, ENFORM prints the actual number of
characters in the value of the target-item or by-item. In either case, ENFORM prints
the value of the target-item or by-item left-justified with blank fill.
If w is too small for the value of the target-item or by-item, an overflow condition
occurs and ENFORM truncates the value.
Examples of the Alphanumeric Edit Descriptors. The following examples show the affect of
the A edit descriptor:
Format
------
A
A4
A3
"[LJ] A3"
"[RJ] A3"
Integer Edit Descriptor
The integer edit descriptor specifies an integer display format. The syntax is:
I w [. m ]
w
is an unsigned integer that specifies the width of the output.
m
is an unsigned integer that specifies the number of digits that must be printed.
The value of m must not exceed the value of w.
When you modify an target-item or by-item with an integer edit descriptor, ENFORM
prints the value right-justified with blank fill. ENFORM always prints at least one
digit for the value of such a target-item or by-item. If you specify m, ENFORM prints
the number of digits specified, using leading zeroes if necessary.
Note that if the value to be printed is zero and you specify Iw.0, ENFORM prints
blanks.
058057 Tandem Computers Incorporated
Item Value
----------
WORD
WORD
WORD
WORD
WORD
Printed Item
------------
WORD
WORD
WOR
WOR
ORD

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enform

Table of Contents