iargc(3F)
NAME
iargc − number of Fortran command-line arguments
SYNOPSIS
integer i, iargc
i = iargc()
DESCRIPTION
The iargc function returns the number of command line arguments passed to the program. Thus, if a program were invoked via foo arg1 arg2 arg3 iargc would return 3.
SEE ALSO
NOTES
When compiling source with the -Qocs option, an explicit underscore needs to be added to the end of the routine name.
CX/UX Hf77 Fortran Reference Manual