![]() Chapter Contents |
![]() Previous |
![]() Next |
| $ASCIIw. |
| Category: | Character |
| Syntax | |
| Syntax Description | |
| Details | |
| Comparisons | |
| Examples |
Syntax |
| $ASCIIw. |
| Default: | 1 if the length of the variable is undefined; otherwise, the length of the variable |
| Range: | 1-32767 |
| Details |
If ASCII is the native format, no conversion occurs.
| Comparisons |
| Examples |
input @1 name $ascii3.;
| Data Lines | Results* | |
|---|---|---|
----+----1 |
EBCDIC | ASCII |
abc |
818283 |
616263 |
ABC |
C1C2C3 |
414243 |
(); |
4D5D5E |
28293B |
| *The results are hexadecimal representations of codes for characters. Each two hexadecimal digits correspond to one byte of binary data, and each byte corresponds to one character value. | ||
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.