11
12
13
14
15
16
17
18
19
20
21
24 use dc_trace, only: beginsub, endsub
25 use dc_string, only: putline, printf, split, strinclude, stoa, joinchar
28 implicit none
29 type(GTHST_NMLINFO), intent(inout):: gthstnml
30 logical, intent(out), optional:: err
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48 character(TOKEN), pointer:: varnames_array(:) =>null()
49 integer:: i, vnmax
50 integer:: stat
51 character(STRING):: cause_c
52 character(*), parameter:: subname = 'HstNmlInfoResetDefault'
53 continue
54 call beginsub( subname )
56 cause_c = ''
57
58
59
60
61
62 if ( .not. gthstnml % initialized ) then
64 cause_c = 'GTHST_NMLINFO'
65 goto 999
66 end if
67
68 if ( .not. gthstnml % define_mode ) then
70 cause_c = 'ResetDefault'
71 goto 999
72 end if
73
74
75
76
77
79 & varnames_array )
80 vnmax = size( varnames_array )
81
82 do i = 1, vnmax
84 & gthstnml = gthstnml, &
85 & name = varnames_array(i) )
86 end do
87
88 deallocate( varnames_array )
89
90
91
92
93
94999 continue
96 call endsub( subname )
subroutine, public storeerror(number, where, err, cause_c, cause_i)
integer, parameter, public dc_enotinit
integer, parameter, public dc_noerr
integer, parameter, public hst_enotindefine
integer, parameter, public token
単語やキーワードを保持する文字型変数の種別型パラメタ
integer, parameter, public string
文字列を保持する 文字型変数の種別型パラメタ
integer, parameter, public stdout
標準出力の装置番号
integer, parameter, public dp
倍精度実数型変数