Purpose
Returns the character in a specified position of the ASCII collating
sequence. It is the inverse of the IACHAR function.
Class
Elemental function
Argument Type and Attributes
- I
- must be of type integer.
Result Type and Attributes
Character of length one with the same kind type parameter as KIND
('A').
Result Value
- If I has a value in the range 0 <= I <= 127, the
result is the character in position I of the ASCII collating sequence,
provided that the character corresponding to I is representable.
- If I is outside the allowed value range, the result is undefined.
Examples
ACHAR (88) has the value 'X'.
