Page 1 of 1

Appending to a file

Posted: Wed May 21, 2003 3:21 pm
by Templeton Peck
Is there anyway to make file write append to a new line after the data already in the file, instead of right behind it on the same line?

Posted: Wed May 21, 2003 7:35 pm
by volka
by putting a "\r\n" or "\n" before the data

Posted: Wed May 21, 2003 7:39 pm
by Templeton Peck
thanks :)

it turned out that under windows using "\n" in notepad does not add the line breaks but "\r\n" does. If you use wordpad though "\n" works just fine