getarg(3F) getarg(3F)NAME getarg - return Fortran command-line argument SYNOPSIS character *N c integer i getarg(i, c) DESCRIPTION getarg returns the ith command-line argument of the current process. Thus, if a program were invoked with: foo arg1 arg2 arg3 then the call getarg(2, c) would return the string arg2 in the character variable c. SEE ALSO getopt(3C) January 1992 1