Hopefully an easy question, consider the code snip:
character(20) :: gbuf write(gbuf,1) flt,char(0) 1 format(f10.3,A)
Given format 1 is used many times it would be neater if the null character termination was in the format rather than the write. I just spend a few minutes scratching my head and googleing.... Any ideas?