Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getopt(3C)

GETARG(3F)                           SysV                           GETARG(3F)



NAME
     getarg - return FORTRAN command-line argument

SYNOPSIS
     character*N c
     integer i

     call getarg(i, c)

DESCRIPTION
     getarg returns the i-th command-line argument of the current process.
     Thus, if a program were invoked via

          foo arg1 arg2 arg3

     getarg(2, c) would return the string "arg2" in the character variable c.

SEE ALSO
     getopt(3C).

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