ICHAR intrinsic function
Standard: F77 F90 F95 F2003 F2008 F2018
<Syntax>
ICHAR ( C [ , KIND ] )
C : Character with length one;
KIND : scalar Integer constant expression;
Result : Integer or Integer(Kind=KIND).
<Semantics>
Convert single Character value to native character code. Like many intrinsic functions, this is elemental; the result has the same shape as C, with the operation being applied elementwise.
Fortran 2003 adds the optional KIND argument; this is totally useless since every character set in the world can be represented in a default Integer.
<Related>
ACHAR intrinsic function, CHAR intrinsic function, CHARACTER type, IACHAR intrinsic function