getarg(3F)
NAME
getarg − return Fortran command-line argument
SYNOPSIS
character∗N c
integer i
getarg(i, c)
DESCRIPTION
getarg returns the i-th command-line argument of the current process. Thus, if a program were invoked via
foo arg1 arg2 arg3
getarg(2, c) would return the string "arg2" in the character variable c.
SEE ALSO
NOTES
When compiling source with the -Qocs option, the routine getarg is not accessible because of the unused parameters that the 88Open OCS standard requires for CHARACTER parameters.
CX/UX Hf77 Fortran Reference Manual