IACHAR(C)

Purpose

Returns the position of a character in the ASCII collating sequence.

Class

Elemental function

Argument type and attributes

C
must be of type default character and of length one.

Result type and attributes

Default integer.

Result value

Examples

IACHAR ('X') has the value 88.