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 )
Provides kind type parameter values.
integer, parameter, public token
Character length for word, token
integer, parameter, public string
Character length for string
integer, parameter, public stdout
Unit number for Standard OUTPUT
integer, parameter, public dp
Double Precision Real number
character(1), parameter, public name_delimiter