337
338
339
340
341
342
343
344
345
346
347 use dc_message, only: messagenotify
349 implicit none
350 type(ARGS), intent(out) :: arg
351 integer:: cmd_opts_max
352 character(len = *), parameter :: subname = 'DCArgsOpen'
353 continue
354 if (arg % initialized) then
355 call messagenotify('W', subname, 'This argument (type ARGS) is already opend.')
356 return
357 end if
358 call buildargtable
359 call sortargtable
360 cmd_opts_max = size(cmd_opts_list)
361 allocate(arg % cmd_opts_list(cmd_opts_max))
362 arg % cmd_opts_list = cmd_opts_list
363 nullify( arg % opt_table )
364 arg % initialized = .true.
Provides kind type parameter values.
integer, parameter, public string
Character length for string