Definition at line 362 of file dc_args.f90.
◆ dcargsnumber0()
| integer function dc_args::number::dcargsnumber0 |
( |
type(args), intent(inout) |
arg | ) |
|
Return number of command line arguments
Returns the number of non-option arguments given as command line arguments.
- Parameters
-
| [in,out] | arg | ARGS derived type variable |
- Returns
- Number of command line arguments (excluding options)
Definition at line 1086 of file dc_args.f90.
1088 implicit none
1089 type(ARGS), intent(inout) :: arg
1090 integer :: result
1091 character(len = *), parameter :: subname = 'DCArgsNumber'
1092 continue
1093 if (.not. arg % initialized) then
1094 call messagenotify(
'W', subname,
'Call Open before Help in dc_args.')
1095 call dcargsopen(arg)
1096 end if
1097 result = size(cmd_argv_list)
The documentation for this interface was generated from the following file: