Start a new table to write to.
You can give the table a name with the tname argument. If the table definition should NOT start on a new line, you have to pass in an advance_previous = .false.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(aot_out_type), | intent(inout) | :: | put_conf | |||
character(len=*), | intent(in), | optional | :: | tname | ||
logical, | intent(in), | optional | :: | advance_previous |
subroutine aot_out_open_table(put_conf, tname, advance_previous)
!------------------------------------------------------------------------
type(aot_out_type), intent(inout) :: put_conf
character(len=*), optional, intent(in) :: tname
logical, optional, intent(in) :: advance_previous
!------------------------------------------------------------------------
call aot_out_breakline(put_conf, advance_previous)
if (present(tname)) then
write(put_conf%outunit, fmt='(a)', advance='no') trim(tname)//' = {'
else
write(put_conf%outunit, fmt='(a)', advance='no') '{'
end if
put_conf%level = put_conf%level + 1
put_conf%indent = put_conf%indent + put_conf%in_step
end subroutine aot_out_open_table