11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
36 use dc_trace, only: beginsub, endsub
37 use dc_string, only: putline, printf, split, strinclude, stoa, joinchar
41 use dc_message, only: messagenotify
42 implicit none
43 type(GTHST_NMLINFO), intent(inout):: gthstnml
44 logical, intent(out), optional:: err
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62 integer:: stat
63 character(STRING):: cause_c
64 character(*), parameter:: subname = 'HstNmlInfoReDefine'
65 continue
66 call beginsub( subname )
68 cause_c = ''
69
70
71
72
73
74 if ( .not. gthstnml % initialized ) then
76 cause_c = 'GTHST_NMLINFO'
77 goto 999
78 end if
79
80 if ( gthstnml % define_mode ) then
82 cause_c = 'ReDefine'
83 goto 999
84 end if
85
86
87
88
89
90 gthstnml % define_mode = .true.
91
92
93
94
95
96999 continue
98 call endsub( subname )
subroutine, public storeerror(number, where, err, cause_c, cause_i)
integer, parameter, public dc_enotinit
integer, parameter, public hst_eintfile
integer, parameter, public dc_noerr
integer, parameter, public hst_eindefine
integer, parameter, public hst_enotindefine
integer, parameter, public token
単語やキーワードを保持する文字型変数の種別型パラメタ
integer, parameter, public string
文字列を保持する 文字型変数の種別型パラメタ
integer, parameter, public stdout
標準出力の装置番号
integer, parameter, public dp
倍精度実数型変数