HP Fortran Programmer's Reference (September 2007)

Intrinsic procedures
Intrinsic procedure specifications
Chapter 11 563
The model for the interpretation of an integer value as a sequence of bits is in “The Bit Model”
on page 508.
Specific forms
BIEOR, HIEOR, IIEOR, JIEOR, KIEOR.
IGETARG(N, STR, STRLEN)
Description
Get command-line argument.
Class
Inquiry nonstandard function.
Arguments
N must be of type integer. N specifies which command-line argument is
requested. When N=0, it returns the program name.
STR must be a character variable. It is assigned first STRLEN characters of the
requested command-line argument, padded with blanks on the end. If the
requested argument is longer than STR, a truncated version is assigned to
STR.
STRLEN must be of type integer. STRLEN specifies the number of characters of
argument N to assign to STR.
Result value
IGETARG returns an integer value, either -1 if the requested argument was not found, or a
positive integer that indicates the number of characters copied from the command line to STR.
IJINT(A)
Description
Convert to INTEGER(2) type.
Class
Elemental nonstandard function.