Intel® Fortran Compiler 16.0 User and Reference Guide
POSIX Function: Returns the index of the last command-line argument.
USE IFPOSIX
result = IPXFARGC( )
The result type is INTEGER(4). The result value is the number of command-line arguments, excluding the command name, in the command used to invoke the executing program. A return value of zero indicates there are no command-line arguments other than the command name itself.