9.1.2 Get_Command_Argument_F2003 Procedure

The Get_Command_Argument_F2003 procedure returns a particular command-line argument 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.

Calling syntax:

call GET_COMMAND_ARGUMENT(Number, Argument)

(This is capitalized because it is an intrinsic in Fortran 2003.)

Input variables:

 Number  The number of the argument to be queried.

Output variable:

 Argument  The character value of the argument.

The Get_Command_Argument_F2003 code listing contains additional documentation.

Michael L. Hall