Compaq Fortran for Tru64 UNIX Alpha Systems V5.4
getarg, iargc (3f)
returns command line arguments
Syntax
integer *4 k
character*len arg
external getarg
call getarg ( k, arg )
integer*4 iargc, indx
external iargc
indx = iargc( )
Description
The getarg subroutine returns the kth command line argument in character
string arg. (The 0th argument is the command name.) If an error occurs
during this subroutine, you can use errsns to get the Fortran error
generated.
The iargc function returns the index of the last command line argument.
See Also
execve(2), getenv(3f)