ACHAR intrinsic function

Standard: F77 F90 F95 F2003 F2008 Example program


ACHAR ( I [ , KIND ] )

I : Integer;
KIND : scalar Integer constant expression;

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


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.


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