getarg(3f)
NAME
getarg, iargc − return command line arguments
SYNTAX
subroutine getarg(k, arg)
character*(*) arg
function iargc()
DESCRIPTION
A call to getarg will return the i-th command line argument in character string arg. The i-th argument is the command name. Thus, if a program were invoked with:
foo arg1 arg2 arg3
Then, getargc(2, c) would return the string arg2 in the character variable c.
The iargc function returns the number of command line arguments passed to the program. Thus, if a program were invoked with:
foo arg1 arg2 arg3
Then, iargc() would return 3.
FILES
/usr/lib/libU77.a