Description:
Encode an INTEGER value into a hexadecimal string using the machine’s character
set. The result is right-justified in the returned string. In the event of an error,
’∗’s
are written to the string.
Invocation
CALL CHR_ITOH( IVALUE, STRING, STATUS )
Arguments
IVALUE = INTEGER (Given)
Value to be encoded.
STRING = CHARACTER
∗ (
∗ )
(Returned)
Hexadecimal string encoded from the given value.
STATUS = INTEGER (Given and
Returned)
The status value. If this value is not SAI__OK on input, the routine returns without action.
If the routine fails to complete successfully, STATUS is returned set to SAI__ERROR.
Notes:
This subroutine assumes a 32-bit, twos-complement representation of an INTEGER.
Copyright © 2018 East Asian Observatory