Next: IBCLR, Previous: IAND, Up: Intrinsic Procedures
IARGC
— Get the number of command line argumentsIARGC()
returns the number of arguments passed on the
command line when the containing program was invoked.
This intrinsic routine is provided for backwards compatibility with
GNU Fortran 77. In new code, programmers should consider the use of
the COMMAND_ARGUMENT_COUNT intrinsic defined by the Fortran 2003
standard.
RESULT = IARGC()
INTEGER(4)
.
Fortran 2003 functions and subroutines: GET_COMMAND, GET_COMMAND_ARGUMENT, COMMAND_ARGUMENT_COUNT