Previous Page | Next Page

Formats

$ASCIIw. Format



Converts native format character data to ASCII representation.
Category: Character
Alignment: left

Syntax
Syntax Description
Details
Comparisons
Examples

Syntax

$ASCIIw.

Syntax Description

w

specifies the width of the output field.

Default: 1
Range: 1-32767

Details

If ASCII is the native format, no conversion occurs.


Comparisons


Examples

put x $ascii3.;

Value of x Results
abc
616263
ABC
414243
();
28293B
* The results are hexadecimal representations of ASCII codes for characters. Each two hexadecimal characters correspond to one byte of binary data, and each byte corresponds to one character.

Previous Page | Next Page | Top of Page