HP Fortran Programmer's Reference (September 2007)

Intrinsic procedures
Intrinsic procedure specifications
Chapter 11 553
Class
Nonstandard subroutine.
FSET(UNIT, NEWFD, OLDFD)
Description
Attach a system file descriptor to a logical unit.
Class
Nonstandard subroutine.
FSTREAM(UNIT)
Description
Retrieve a C language FILE stream pointer.
Class
Inquiry nonstandard function.
GETARG(N, STRING)
Description
Get the arguments passed to the program.
Class
Nonstandard subroutine.
Arguments
N must be of type integer. N specifies which command-line argument is
requested. When N=1, it returns the program name. When N=0, it returns all
blanks.
STRING must be a character variable. It is assigned the requested command-line
argument, padded with blanks on the end. If the requested argument is
longer than STRING, a truncated version is assigned to STRING.