iargc man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



GETARG(3F)							    GETARG(3F)

NAME
     getarg, iargc - return Fortran command-line argument

SYNOPSIS
     subroutine getarg(i, c)
     character*N c
     integer*4 i

     integer*4 function iargc()
     integer j

     call getarg(i, c)
     j = iargc()

DESCRIPTION
     getarg returns the i-th command-line argument of the current process.

     iargc returns the index of the last argument.

	  foo arg1 arg2 arg3

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

     iargc would return 3 as the value of the function call.

SEE ALSO
     getopt(3C).

NOTES
     The compiler expects the existence of a Fortran MAIN_ program when these
     functions are used.

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net