[PD] formatting sprintf

Mathieu Bouchard matju at artengine.ca
Tue Aug 9 23:32:23 CEST 2011

On Tue, 9 Aug 2011, Jeppi Jeppi wrote:

> just a simple question...how could I output textfiles from a pd patch 
> (with any suitable object dealing with symbols) with \n in them?

You can use a sprintf that supports multiple arguments, such as 
[gf/sprintf] (from GridFlow).

Then putting a %c corresponding to a 10 will output a newline... if on 

On Windows you need %c%c with 13 10.

> It seems I cannot type the "\" character in pd...is that true?


| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC

More information about the Pd-list mailing list