write_key_val_string Subroutine

private subroutine write_key_val_string(key, val, unit)

Writes a {key,val} pair where the value is of type character

Type Bound

abstract_config_type

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: key
character(len=*), intent(in) :: val
integer, intent(in) :: unit

Contents

Source Code


Source Code

  subroutine write_key_val_string(key, val, unit)
    character(len=*), intent(in) :: key
    character(len=*), intent(in) :: val
    integer, intent(in) :: unit
    write(unit,'("  ",A," = "," ",A)') format_key(key), '"'//trim(val)//'"'
  end subroutine write_key_val_string