[PD] convert number to pass it as argument to canvas

Mathieu Bouchard matju at artengine.ca
Wed Sep 16 18:34:16 CEST 2009

On Tue, 15 Sep 2009, Ricardo Dueñas Parada wrote:
> 2009/9/15 Jonathan Wilkes <jancsika at yahoo.com>:
>> You can do this:
>> [makefilename %d]
> thank you.

Be careful with that, as each different-looking number will eat a bit of RAM 
that will not come back. So, if you make a few million numbers, it'll eat all 
of your RAM.

Also note that this is using %d, which chops off all fractional parts (rounding 
towards zero). There is %f, which instead shows most of the fractional part. It 
can also be configured to show various amounts of digits.

  _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801

More information about the Pd-list mailing list