Previous Page | Next Page

Formats under UNIX

$HEXw. Format: UNIX

Converts character values to hexadecimal representation.
Category: Character
Width range: 1 to 32767
Default width: 4
Alignment: left
UNIX specifics: produces ASCII codes
See: $HEXw. format in SAS Language Reference: Dictionary



Under UNIX, the $HEXw. format produces hexadecimal representations of ASCII codes for characters, with each byte requiring two columns. Therefore, you need twice as many columns to output a value with the $HEXw. format.

Previous Page | Next Page | Top of Page