ACHAR(I, KIND)

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.
Fortran 2003 begins KIND (optional)
must be a scalar integer constant expression. Fortran 2003 ends

Result type and attributes

Result value

Examples

ACHAR (88) has the value 'X'.