XL Fortran for AIX 8.1
Returns the position of a character in the ASCII collating sequence.
- must be of type default character and of length one.
Result Type and Attributes
- If C is in the collating sequence defined by the codes specified in ISO
646:1983 (International Reference Version), the result is the position
of C in that sequence and satisfies the inequality (0 <= IACHAR
(C) <= 127). An undefined value is returned if C is not in
the ASCII collating sequence.
- The results are consistent with the LGE, LGT, LLE, and LLT lexical
comparison functions. For example, LLE (C, D) is true, so IACHAR (C)
.LE. IACHAR (D) is true too.
IACHAR ('X') has the value 88.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]