
Next:
CHR_IACHR
-
Return the ASCII value for the given character
Up: Routine Descriptions
Previous:
CHR_FIWS
-
Find the start of the next word within a string
CHR_HTOI
-
Read an INTEGER value from a hexadecimal string
- Description:
-
The given hexadecimal string is decoded into an INTEGER value.
- Invocation:
-
CALL CHR_HTOI( STRING, IVALUE, STATUS )
- Arguments:
-
-
STRING = CHARACTER
(
) (Given)
-
String to be decoded.
-
IVALUE = INTEGER (Returned)
-
Value decoded from the given string.
-
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.

Next:
CHR_IACHR
-
Return the ASCII value for the given character
Up: Routine Descriptions
Previous:
CHR_FIWS
-
Find the start of the next word within a string
CHR Character Handling Routines
Starlink User Note 40
A C Charles
P C T Rees
A J Chipperfield
2 August 1995
E-mail:ussc@star.rl.ac.uk