Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getarg(III) — UNIX 6th Edition

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

exec (II)

setfil (III)

GETARG(III)  −  PWB/UNIX 11/24/73

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 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

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026