COMMAND_ARGUMENT_COUNT(3f)

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

STANDARD
Fortran 2003 and later

CLASS
Inquiry function

SYNTAX
RESULT = COMMAND_ARGUMENT_COUNT()

ARGUMENTS

None

RETURN VALUE
The return value is an INTEGER of default kind.

EXAMPLE
          program test_command_argument_count
              integer :: count
              count = command_argument_count()
              print *, count
          end program test_command_argument_count

SEE ALSO
GET_COMMAND, GET_COMMAND_ARGUMENT

AUTHOR

This information was taken from the GFortran documentation (https://gcc.gnu.org/onlinedocs/gcc-5.3.0/gfortran/) and converted to a manpage by AstroFloyd (http://astrofloyd.org).