Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ iargc(3F) — CX/UX 6.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getarg(3F)

iargc(3F)

NAME

iargc − number of Fortran command-line arguments

SYNOPSIS

integer i, iargc
i = iargc()

DESCRIPTION

The iargc function returns the number of command line arguments passed to the program.  Thus, if a program were invoked via foo arg1 arg2 arg3 iargc would return 3. 

SEE ALSO

getarg(3F). 

NOTES

When compiling source with the -Qocs option, an explicit underscore needs to be added to the end of the routine name. 

CX/UX Hf77 Fortran Reference Manual

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