Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(key_t), | intent(in) | :: | key | |||
integer, | intent(in) | :: | unit | |||
character, | intent(in) | :: | iotype | |||
integer, | intent(in) | :: | v_list(:) | |||
integer, | intent(out) | :: | iostat | |||
character, | intent(inout) | :: | iomsg |
subroutine write_key_t(key, unit, iotype, v_list, iostat, iomsg)
class(key_t), intent(in) :: key
integer, intent(in) :: unit
character(*), intent(in) :: iotype
integer, intent(in) :: v_list(:)
integer, intent(out) :: iostat
character(*), intent(inout) :: iomsg
iostat = 0
!iomsg = ""
write(6,'(a)', iostat=iostat, iomsg=iomsg) trim(adjustl(key%k))
end subroutine write_key_t