IARGC — Get the number of command line arguments#

IARGC()#

IARGC returns the number of arguments passed on the command line when the containing program was invoked.

Returns:

The number of command line arguments, type INTEGER(4).

Standard:

GNU extension

Class:

Function

Syntax:
RESULT = IARGC()
Arguments:

None

Example:

See GETARG — Get command line arguments

See also:

GNU Fortran 77 compatibility subroutine: GETARG — Get command line arguments Fortran 2003 functions and subroutines: GET_COMMAND — Get the entire command line, GET_COMMAND_ARGUMENT — Get command line arguments, COMMAND_ARGUMENT_COUNT — Get number of command line arguments