Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(assoc_list_t), | intent(in) | :: | a |
subroutine assoc_list_print(a)
type(assoc_list_t), intent(in) :: a
integer :: i
if (a%nitems > 0) then
print "(a)", "---------------------"
do i = 1, a%nitems
print "(3x,a,a,a)", trim(a%key(i)), " : ", trim(a%value(i))
enddo
print "(a)", "---------------------"
endif
end subroutine assoc_list_print