Command Reference 5-11
ASC
Purpose Converts numeric data to alphanumeric data.
Syntax ASC
int-field
,
asc-field
Process The ASC command converts numeric data from
int-field
and places the resulting
alphanumeric data in
asc-field
.
The
int-field and asc-field
fields can be one the following:
Int-field and Asc-field
Description
INPUT Input Buffer
Logical Field Name (TEMP1) Temporary Buffer Field
Logical Field Name (LU1) Lookup Buffer Field
Logical Field Name (PR1) Printer Buffer Field
Logical Field Name [index] Array Buffer Field
SCRATCH Scratch Buffer
Int-field
only:
Number
Number prefixed by a number
sign (#).
Example
The following example converts numeric data from the TAINT field, converts it into
alphanumeric data, and stores the result in TAASCII.
ASC TAINT, TAASCII
See Also CHR