42 logical,
intent(out),
optional:: err
63 character(STRING):: cause_c
64 character(*),
parameter:: subname =
'HstNmlInfoClose' 74 if ( .not. gthstnml % initialized )
then 76 cause_c =
'GTHST_NMLINFO' 85 hptr => gthstnml % gthstnml_list
86 call listlast( gthstnml_list = hptr, &
87 & previous = hptr_prev )
88 call dbgmessage(
'remove entry (%c)', c1 = trim(hptr % name) )
89 if ( trim( hptr % name ) ==
'' )
exit 90 if ( .not. gthstnml % define_mode )
then 91 if ( historyinitialized( hptr % history ) )
then 98 nullify( hptr_prev % next )
100 deallocate( gthstnml % gthstnml_list )
106 gthstnml % initialized = .false.
107 gthstnml % define_mode = .true.
110 call storeerror( stat, subname, err, cause_c )
integer, parameter, public dc_enotinit
integer, parameter, public token
Character length for word, token.
subroutine, public storeerror(number, where, err, cause_c, cause_i)
integer, parameter, public dc_noerr
character(string) function, public joinchar(carray, expr)
integer, parameter, public dp
Double Precision Real number.
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)
integer, parameter, public stdout
Unit number for Standard OUTPUT.
Handling character types.
integer, parameter, public hst_enottermgthist
Provides kind type parameter values.
subroutine hstnmlinfoclose(gthstnml, err)
subroutine, public endsub(name, fmt, i, r, d, L, n, c1, c2, c3, ca)
integer, parameter, public string
Character length for string.