XL Fortran for AIX 8.1

Language Reference


Returns the position of a character in the collating sequence associated with the kind type parameter of the character.

must be of type character and of length one. Its value must be that of a representable character.


Elemental function

Result Type and Attributes

Default integer.

Result Value

+-------------------------------IBM Extension--------------------------------+


ICHAR ('X') has the value 88 in the ASCII collating sequence.

Specific Name Argument Type Result Type Pass As Arg?
ICHAR default character default integer yes (1)


  1. The extension is the ability to pass the name as an argument.

  2. XL Fortran supports only the ASCII collating sequence.

+----------------------------End of IBM Extension----------------------------+

[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]