Hi,
Looks as if write is adding a carrage return to the end of the first line. Maybe try copying everything into one string then just writing the string in one go.
Or use "put" to output to the file.
Regards
Ian Dobson
↧