129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
146 use dc_trace, only: beginsub, endsub
149 implicit none
150 type(GTHST_NMLINFO_ENTRY), pointer:: gthstnml_list
151
152 type(GTHST_NMLINFO_ENTRY), pointer, optional:: previous
153
154 logical, intent(out), optional:: err
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172 integer:: stat
173 character(STRING):: cause_c
174 character(*), parameter:: subname = 'HstNmlInfoListLast'
175 continue
176 call beginsub( subname )
178 cause_c = ''
179
180 if ( present( previous ) ) nullify( previous )
181
182
183
184
185
186 if ( .not. associated( gthstnml_list ) ) goto 999
187
188
189
190
191
192 do while ( associated( gthstnml_list % next ) )
193 if ( present( previous ) ) previous => gthstnml_list
194 call listnext( gthstnml_list = gthstnml_list )
195 end do
196
197
198
199
200
201999 continue
202 call storeerror( stat, subname, err, cause_c )
203 call endsub( subname )
subroutine, public storeerror(number, where, err, cause_c, cause_i)
integer, parameter, public dc_noerr
integer, parameter, public token
単語やキーワードを保持する文字型変数の種別型パラメタ
integer, parameter, public string
文字列を保持する 文字型変数の種別型パラメタ