COMMAND_ARGUMENT_COUNT
returns the number of arguments passed on the command line when the containing program was invoked. RESULT = COMMAND_ARGUMENT_COUNT()
None |
INTEGER
of default kind. program test_command_argument_count integer :: count count = command_argument_count() print *, count end program test_command_argument_count
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-6.3.0/gfortran/COMMAND_005fARGUMENT_005fCOUNT.html