IARGC — Get the number of command line arguments¶
- IARGC()¶
IARGCreturns 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
See also:GNU Fortran 77 compatibility subroutine: GETARG Fortran 2003 functions and subroutines: GET_COMMAND, GET_COMMAND_ARGUMENT, COMMAND_ARGUMENT_COUNT