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
An INTENT(IN) INTEGER
Fortran 2003 begins KIND (optional)
An INTENT(IN) scalar INTEGER. The actual argument corresponding to KIND must be a constant expression.Fortran 2003 ends

Result type and attributes

Result value

Examples

ACHAR (88) has the value 'X'.