Extracts bits.
| Category: | Numeric |
| Interaction: | List input is incompatible with binary input when this informat is specified in an INFORMAT= statement or an ATTRIB= statement using the INFORMAT= argument. SAS issues a warning and uses formatted input to read the data. |
input @1 value bits4.1;
|
Data Line
|
Result 1
|
|---|---|
----+----1----+ |
|
B |
8 |
| 1The EBCDIC binary code for a capital B is 11000010, and the ASCII binary code is 01000010. | |