![]() Chapter Contents |
![]() Previous |
![]() Next |
| $CHARw. |
| Category: | Character |
| Alignment: | left |
| Syntax | |
| Syntax Description | |
| Comparisons | |
| Examples |
Syntax |
| $CHARw. |
| Default: | 8 if the length of variable is undefined; otherwise, the length of the variable |
| Range: | 1-32767 |
| Comparisons |
| Language | Notation |
|---|---|
| SAS | $CHAR8. |
| C | char [8] |
| COBOL | PIC x(8) |
| FORTRAN | A8 |
| PL/I | A(8) |
| Examples |
put @7 name $char4.;
| Values | Results |
|---|---|
----+----1 |
|
XYZ |
XYZ |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.