Chapter Contents

Previous

Next
HEXw.

HEXw.



Converts hexadecimal positive binary values to fixed-point or floating-point binary values

Category numeric
Width range: 1-16
Default width: 8
Alignment: left
OS/2 specifics: native floating-point representation


Syntax
Details
See Also

Syntax

HEXw.

w
specifies whether the input represents an integer (fixed-point) or a real (floating-point) binary number. When you specify a w value of 1 through 15, the input hexadecimal value represents an integer binary number. When you specify 16 for the w value, the input hexadecimal value represents a floating-point value.


Details

The HEXw. informat expects input that is not byte-reversed, that is, not in OS/2 form. (The IB, PIB, and RB informats for binary numbers expect the bytes to be reversed.) This means that you can use the HEXw. informat to read hexadecimal literals from SAS programs that were created in another environment.

See Also


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.