9.135. ICHAR

9.135 ICHAR — Character-to-integer conversion function

Description:
ICHAR(C) returns the code for the character in the first character position of C in the system's native character set. The correspondence between characters and their codes is not necessarily the same across different GNU Fortran implementations.
Standard:
Fortran 95 and later, with KIND argument Fortran 2003 and later
Class:
Elemental function
Syntax:
RESULT = ICHAR(C [, KIND])
Arguments:
C Shall be a scalar CHARACTER, with INTENT(IN)
KIND (Optional) An INTEGER initialization expression indicating the kind parameter of the result. 登录查看完整内容