man(1) Manual page archive


NAME
     getarg, iargc - get command arguments from Fortran

SYNOPSIS
     call getarg ( i, iarray [ , isize ] )

DESCRIPTION
     The getarg entry fills in iarray (which is considered to be
     integer) with the Hollerith string representing the i th
     argument to the command in which it it is called.  If no
     isize argument is specified, at least one blank is placed
     after the argument, and the last word affected is blank pad-
     ded.  The user should make sure that the array is big
     enough.

     If the isize argument is given, the argument will be fol-
     lowed by blanks to fill up isize words, but even if the
     argument is long no more than that many words will be filled
     in.

     The blank-padded array is suitable for use as an argument to
     setfil (III).

     The iargc entry returns the number of arguments to the com-
     mand, counting the first (file-name) argument.

SEE ALSO
     exec (II), setfil (III)

BUGS

 1