Chapter Contents

Previous

Next
$ASCIIw.

$ASCIIw.



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.;

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


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.