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
An INTENT(IN)INTEGER
KIND (optional)
An INTENT(IN) scalar INTEGER.
The actual argument corresponding to KIND must
be a constant expression.
Result type and attributes
Character of length one.
If KIND is present,
the kind type parameter is that specified by the value of KIND;
otherwise, the KIND type parameter is that
of default character type.
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.