Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(amap_t), | intent(in) | :: | this |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | i |
subroutine print_amap_t(this)
class(amap_t), intent(in) :: this
integer :: i
write(6,'(a,i0,a)') 'Map has ',this%high_water,' elements'
do i=1,this%high_water
write(6,'(4x,dt,a,dt)') this%pairs(i)%k,' -> ',this%pairs(i)%v
end do
end subroutine print_amap_t