1120 implicit none
1121 type(ARGS), intent(in) :: arg
1122 integer :: i
1123 continue
1124 if (.not. arg % initialized) then
1125 call printf(
stdout,
'#<ARGS:: @initialized=%y>', l=(/arg % initialized/))
1126 return
1127 end if
1128 call printf(
stdout,
'#<ARGS:: @initialized=%y,', l=(/arg % initialized/))
1130 if ( associated(arg % opt_table) ) then
1131 do i = 1, size(arg % opt_table)
1133 call printf(
stdout,
' @options=%c, @help_message=%c, @optvalue_flag=%y', &
1134 & c1=trim(
joinchar(arg % opt_table(i) % options)), &
1135 & c2=trim(arg % opt_table(i) % help_message), &
1136 & l=(/arg % opt_table(i) % optvalue_flag/))
1138 end do
1139 end if
1142 do i = 1, size(arg % cmd_opts_list)
1144 call printf(
stdout,
' @name=%c, @value=%c, @flag_called=%y', &
1145 & c1=trim(arg % cmd_opts_list(i) % name), &
1146 & c2=trim(arg % cmd_opts_list(i) % value), &
1147 & l=(/arg % cmd_opts_list(i) % flag_called/))
1149 end do
1152 & c1=trim(
joinchar(cmd_argv_list)))
1154
character(string) function, public joinchar(carray, expr)
integer, parameter, public stdout
標準出力の装置番号