I have the following code which is supposed to write a <LF> between two text strings in the output file (which is a CSV file for reading into Excel):
n1 = '"'//trim(ndprops(1))//char(10)//trim(ndprops(2))//'",'
write(csvu,'(a)') trim(n1)
This is so that text too long for a cell is written on two lines into that cell.
However on examination of the file written, I see 0d0a so that an extra <CR> is written to the file, which means the line is read incorrectly into Excel.
How do I tell Fortran not to write the 0d?