[PD] convert number to pass it as argument to canvas
On Tue, 15 Sep 2009, Ricardo Dueñas Parada wrote: 2009/9/15 Jonathan Wilkes jancs...@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___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] convert number to pass it as argument to canvas
Hi list, I just want to know how can send a number as a cnv argument. I want to put a number in the label of a canvas, but it shows me Bad argument, in what must I convert it? Thanks. Ricardo ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] convert number to pass it as argument to canvas
You can do this: [makefilename %d] | [label $1( | [s your_canvas] --- On Wed, 9/16/09, Ricardo Dueñas Parada rduen...@gmail.com wrote: From: Ricardo Dueñas Parada rduen...@gmail.com Subject: [PD] convert number to pass it as argument to canvas To: pd-list pd-list@iem.at Date: Wednesday, September 16, 2009, 4:28 AM Hi list, I just want to know how can send a number as a cnv argument. I want to put a number in the label of a canvas, but it shows me Bad argument, in what must I convert it? Thanks. Ricardo ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] convert number to pass it as argument to canvas
thank you. 2009/9/15 Jonathan Wilkes jancs...@yahoo.com: You can do this: [makefilename %d] | [label $1( | [s your_canvas] --- On Wed, 9/16/09, Ricardo Dueñas Parada rduen...@gmail.com wrote: From: Ricardo Dueñas Parada rduen...@gmail.com Subject: [PD] convert number to pass it as argument to canvas To: pd-list pd-list@iem.at Date: Wednesday, September 16, 2009, 4:28 AM Hi list, I just want to know how can send a number as a cnv argument. I want to put a number in the label of a canvas, but it shows me Bad argument, in what must I convert it? Thanks. Ricardo ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list