Page 1 of 1

carriage return?

Posted: Thu Jan 22, 2004 9:24 pm
by Illusionist
i'm writing data to a textfile, and would like to include a character return....

Posted: Thu Jan 22, 2004 9:31 pm
by Illusionist
nevermind, i got it!
I was just using /n and /r by themselves, so i put them together, and it works now! :-D

Posted: Fri Jan 23, 2004 4:11 am
by twigletmac
You're on windows then :)?

Windows: \r\n
Unix/Linux: \n
Mac: \r

Isn't consistency great.

Mac