COMMAND_ARGUMENT_COUNT intrinsic function

Standard: F77 F90 F95 F2003 F2008 F2018 Example program


<Syntax>

COMMAND_ARGUMENT_COUNT ( )

Result : scalar Integer.

<Semantics>

The result is the number of arguments on the command line for the current program execution, not counting the program name.

<Related>

GET_COMMAND intrinsic subroutine, GET_COMMAND_ARGUMENT intrinsic subroutine