51 logical,
intent(out),
optional:: err
72 character(STRING):: cause_c
73 character(*),
parameter:: subname =
'HstNmlInfoClose'
83 if ( .not. gthstnml % initialized )
then
85 cause_c =
'GTHST_NMLINFO'
94 hptr => gthstnml % gthstnml_list
95 call listlast( gthstnml_list = hptr, &
96 & previous = hptr_prev )
97 call dbgmessage(
'remove entry (%c)', c1 = trim(hptr % name) )
98 if ( trim( hptr % name ) ==
'' )
exit
99 if ( .not. gthstnml % define_mode )
then
100 if ( historyinitialized( hptr % history ) )
then
102 cause_c = hptr % name
107 nullify( hptr_prev % next )
109 deallocate( gthstnml % gthstnml_list )
115 gthstnml % initialized = .false.
116 gthstnml % define_mode = .true.
119 call storeerror( stat, subname, err, cause_c )
subroutine hstnmlinfoclose(gthstnml, err)
subroutine, public storeerror(number, where, err, cause_c, cause_i)
integer, parameter, public hst_enottermgthist
integer, parameter, public dc_enotinit
-400 以下: dc ユーティリティのエラー
integer, parameter, public dc_noerr
エラー等を保持
subroutine, public dbgmessage(fmt, i, r, d, l, n, c1, c2, c3, ca)
subroutine, public beginsub(name, fmt, i, r, d, l, n, c1, c2, c3, ca, version)
subroutine, public endsub(name, fmt, i, r, d, l, n, c1, c2, c3, ca)
integer, parameter, public string
文字列を保持する 文字型変数の種別型パラメタ