Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
Document Table of Contents

INUM

Elemental Intrinsic Function (Specific): Converts a character string to an INTEGER(2) value. This function cannot be passed as an actual argument.

result = INUM (i)

i

(Input) Must be of type character.

Results

The result type is INTEGER(2). The result value is the INTEGER(2) value represented by the character string i.

If the argument contains characters that are illegal in an integer value, an error is signaled and execution stops.

Example

INUM ("451") has the value 451 of type INTEGER(2).