HP Fortran Programmer's Reference (September 2007)

Intrinsic procedures
Intrinsic procedure specifications
Chapter 11556
Class
Elemental function.
Argument
C must be of type default character and of length one.
Result type/
type parameters
Default integer.
Result value
If C is in the collating sequence defined by the codes specified in ISO 646:1983 (“Information
technology — ISO 7-bit coded character set for information interchange”), the result is the
position of C in that sequence and satisfies the inequality (0 <= IACHAR(C) <= 127).
A processor-dependent 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, if LLE(C, D) is .TRUE., IACHAR(C) .LE. IACHAR(D) is .TRUE. where C and D are
any two characters representable by the processor.
IADDR(X)
Description
Return the address of X.
Class
Inquiry nonstandard function.
Argument
X may be of any type.
Result type
The result is of type default integer.
See “BADDRESS(X)” on page 531 for examples.