PDA

View Full Version : DOS line breaks?


SuperRune
02-13-2009, 11:00 AM
Hi all,

I can't find anything on this in the Maya help file (not sure what to search for actually), so I hope someone here can help me out.

Using "\n" as line breaks and then doing fprint to a file gives me Unix-style linebreaks. Is it possible to output DOS-type breaks instead?

SuperRune
02-13-2009, 11:41 PM
Figured it out, the magic characters are "\r\n".

Took me quite some time to figure out that the correct keywords to search for were "carriage return". That's what I get for not having english as my first language...

CGTalk Moderation
02-13-2009, 11:41 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.