CHAR(3f)

DESCRIPTION
CHAR(I [, KIND]) returns the character represented by the integer I.

STANDARD
Fortran 77 and later

CLASS
Elemental function

SYNTAX
RESULT = CHAR(I [, KIND])

ARGUMENTS

I The type shall be INTEGER. KIND (Optional) An INTEGER initialization expression indicating the kind parameter of the result.

RETURN VALUE
The return value is of type CHARACTER(1)

EXAMPLE
          program test_char
              integer :: i = 74
              character(1) :: c
              c = char(i)
              print *, i, c ! returns 'J'
          end program test_char

SPECIFIC NAMES

Name Argument Return type Standard CHAR(I) INTEGER I CHARACTER(LEN=1) F77 and later

NOTE
See ICHAR for a discussion of converting between numerical values and formatted string representations.

SEE ALSO
ACHAR, IACHAR, ICHAR

AUTHOR

This information was taken from the GFortran documentation (https://gcc.gnu.org/onlinedocs/gcc-5.3.0/gfortran/) and converted to a manpage by AstroFloyd (http://astrofloyd.org).