The Command_Argument_Count_F2003 returns the number of command-line arguments used for this invocation of the executable. It is modeled after the Fortran 2003 function so that it can be replaced by that function eventually.
|Integer = COMMAND_ARGUMENT_COUNT()|
(This is capitalized because it is an intrinsic in Fortran 2003.)
|Command_Argument_Count||Returns the number of command arguments.|
The Command_Argument_Count_F2003 code listing contains additional documentation.