Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getarg(3F) — CX/UX 6.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getopt(3C)

getarg(3F)

NAME

getarg − return Fortran command-line argument

SYNOPSIS

character∗N c
integer i

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

NOTES

When compiling source with the -Qocs option, the routine getarg is not accessible because of the unused parameters that the 88Open OCS standard requires for CHARACTER parameters. 

CX/UX Hf77 Fortran Reference Manual

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