11
12
13
14
15
16
17
18
19
20
21
22
23
27 use dc_string, only: putline, printf, split, strinclude, stoa, joinchar
29 implicit none
30 character(STRING):: result
31 type(GTHST_NMLINFO), intent(in):: gthstnml
32
33
34
35
36 type(GTHST_NMLINFO_ENTRY), pointer:: hptr =>null()
37 logical:: first
38
39 continue
40
41 result = ''
42 first = .true.
43
44
45
46
47
48 if ( .not. gthstnml % initialized ) goto 999
49
50
51
52
53
54 hptr => gthstnml % gthstnml_list
55 do while ( associated( hptr % next ) )
56 call listnext( gthstnml_list = hptr )
57 if ( first ) then
58 result = adjustl( hptr % name )
59 first = .false.
60 else
61 result = trim( result ) //
name_delimiter // adjustl( hptr % name )
62 end if
63 end do
64
65
66
67
68
69999 continue
70 nullify( hptr )
integer, parameter, public stdout
標準出力の装置番号
integer, parameter, public token
単語やキーワードを保持する文字型変数の種別型パラメタ
integer, parameter, public dp
倍精度実数型変数
integer, parameter, public string
文字列を保持する 文字型変数の種別型パラメタ
character(1), parameter, public name_delimiter