Page 1 of 1

File: Inserting A Line Break

Posted: Tue May 20, 2003 5:47 pm
by Templeton Peck
I'm just writing to a normal text file, it works fine and all but it puts all the date on one single line.

Just wondering how to get line breaks? like write a string and then have a line break

Posted: Tue May 20, 2003 5:59 pm
by Doolittle
\n

Posted: Tue May 20, 2003 6:00 pm
by patrikG
Writing to a HTML-file use: "<br>"
Writing to a plain-text-file (ASCII) use: "\n".

Posted: Tue May 20, 2003 7:25 pm
by Templeton Peck
I've tried that, instead of putting a line break it prints a funny character, any other idea's?

Posted: Tue May 20, 2003 7:34 pm
by mikusan
Check out my thread... in the end i had a similar problem but was able to fix it...there is also some code you can look @...
viewtopic.php?t=8951