CHR_OTOI

Read an INTEGER value from an octal string

Description:

The given octal string is decoded into an INTEGER value.

Invocation

CALL CHR_OTOI( 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.