$BINARYw. Format
Converts character data to binary representation.
Category: |
Character |
Alignment: |
Left |
Syntax
Arguments
w
specifies the width
of the output field.
Default |
The default width is calculated based on the length
of the variable to be printed.
|
Range |
1–32767 |
Comparisons
The $BINARY
w.
format converts character values to binary representation. The BINARY
w.
format converts numeric values to binary representation.
Example
|
|
|
|
|
|
|
|
select put('AB', $binary16.);
|
|
|