Description:
The given binary string is decoded into an INTEGER value.
Invocation
CALL
CHR_BTOI( STRING, IVALUE, STATUS )
Arguments
STRING = CHARACTER
∗ (
∗ )
(Given)
String to be decoded, e.g. ’10101100’.
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.
Copyright © 2018 East Asian Observatory