GETARG(III)                 11/24/73                  GETARG(III)







NAME

     getarg, iargc - get command arguments from Fortran



SYNOPSIS

     call getarg ( i, iarray [ , isize ] )



     ... = iargc(dummy)



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

     padded.   The  user  should  make sure that the array is big

     enough.



     If the  isize  argument  is  given,  the  argument  will  be

     followed  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

     command, counting the first (file-name) argument.



SEE ALSO

     exec (II), setfil (III)



BUGS