ACHAR intrinsic function

Standard: F77 F90 F95 F2003 F2008 Example program


<Syntax>

ACHAR ( I [ , KIND ] )

I : Integer;
KIND : scalar Integer constant expression;

Result : Character(Len=1) or Character(Len=1,Kind=KIND).

<Semantics>

Convert ASCII character code (value from 0 to 127) to Character type; this is the inverse of the IACHAR intrinsic function. Like many intrinsic functions, this is elemental; the result has the same shape as I, with the operation being applied elementwise.

<Related>

CHAR intrinsic function, CHARACTER type, IACHAR intrinsic function, ICHAR intrinsic function