Csound Csound-dev Csound-tekno Search About

[Csnd] inconsistency across platforms when using sprintf opcode

Date2010-03-28 23:44
Fromandy fillebrown
Subject[Csnd] inconsistency across platforms when using sprintf opcode
When using the sprintf opcode on Windows the behavior of a "\n" is
expected -- it creates a new line.  On Ubuntu, though, it requires two
slashes to work "\\n", otherwise all I get is an "n" in the resulting
string.  Is this known?  How do I work around it?  Is there a better
way to get a line-ending that is more portable?

Cheers,
~ andy.f


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"