51 character(*),
intent(in):: name
66 logical,
intent(out),
optional:: err
87 character(TOKEN),
pointer:: varnames_array(:) =>null()
90 character(STRING):: cause_c
91 character(*),
parameter:: subname =
'HstNmlInfoDelete'
103 if ( .not. gthstnml % initialized )
then
105 cause_c =
'GTHST_NMLINFO'
109 if ( .not. gthstnml % define_mode )
then
121 call dbgmessage(
'multiple entries (%c) will be deleted', c1 = trim(name) )
123 & carray = varnames_array )
124 vnmax =
size( varnames_array )
128 & gthstnml = gthstnml, &
129 & name = varnames_array(i), &
132 deallocate( varnames_array )
137 deallocate( varnames_array )
146 hptr => gthstnml % gthstnml_list
149 & previous = hptr_prev, &
152 if ( .not.
associated( hptr ) )
goto 999
153 if ( ( trim(hptr % name) /=
'' ) .and.
associated( hptr_prev ) )
then
154 call dbgmessage(
'entry (%c) is deleted', c1 = trim( adjustl( name ) ) )
155 hptr_prev % next => hptr_next
164 call storeerror( stat, subname, err, cause_c )
recursive subroutine hstnmlinfodelete(gthstnml, name, err)
subroutine, public storeerror(number, where, err, cause_c, cause_i)
integer, parameter, public usr_errno
-1000 以下: ユーザー定義
integer, parameter, public dc_enotinit
-400 以下: dc ユーティリティのエラー
integer, parameter, public dc_noerr
エラー等を保持
integer, parameter, public hst_enotindefine
-500 以下: データ入出力層のエラー
logical function, public present_and_not_empty(arg)
logical function, public present_and_true(arg)
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 token
単語やキーワードを保持する文字型変数の種別型パラメタ
integer, parameter, public string
文字列を保持する 文字型変数の種別型パラメタ
character(1), parameter, public name_delimiter