IACHAR(3I) Last changed: 1-6-98
IACHAR - Returns the position of a character in the ASCII collating
sequence
IACHAR ([C=]c)
UNICOS, UNICOS/mk, and IRIX systems
Fortran 90
The IACHAR intrinsic function returns the position of a character in
the ASCII collating sequence. It accepts the following argument:
c Must be of type character and of length 1
IACHAR is an elemental function. The name of this intrinsic cannot be
passed as an argument.
The result type is a default integer value. 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). The results
are consistent with the LGE, LGT, LLE, and LLT lexical comparison
functions. For example, if LLE(C,D) is true, IACHAR(C).LE.IACHAR(D)
is true when C and D are any two ASCII characters.
IACHAR('X') has the value 88.
Intrinsic Procedures Reference Manual, publication SR-2138, for the
printed version of this man page.
IACHAR(3I) Last changed: 1-6-98
IACHAR - Returns the position of a character in the ASCII collating
sequence
IACHAR ([C=]c)
UNICOS, UNICOS/mk, and IRIX systems
Fortran 90
The IACHAR intrinsic function returns the position of a character in
the ASCII collating sequence. It accepts the following argument:
c Must be of type character and of length 1
IACHAR is an elemental function. The name of this intrinsic cannot be
passed as an argument.
The result type is a default integer value. 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). The results
are consistent with the LGE, LGT, LLE, and LLT lexical comparison
functions. For example, if LLE(C,D) is true, IACHAR(C).LE.IACHAR(D)
is true when C and D are any two ASCII characters.
IACHAR('X') has the value 88.
Intrinsic Procedures Reference Manual, publication SR-2138, for the
printed version of this man page.
[ Back ]
|