I agree with Matteo...could you please elaborate on the relevance of [value] to the particular problem he is trying to solve?
D.
On 3/27/10 9:25 PM, colet.patrice@free.fr wrote:
yes, but it takes [value foo] variable ----- Mail Original ----- De: "Derek Holzer"derek@umatic.nl À: "colet patrice"colet.patrice@free.fr Cc: "pd-list"pd-list@iem.at, matteosistisette@gmail.com Envoyé: Samedi 27 Mars 2010 21h21:18 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [PD] expr size() refuses some array names
Yes, I was going to say next that [expr] doesn't take $1 or $0, it takes $f1, $f2 etc etc. That's why it won't create.
D.
On 3/27/10 9:17 PM, colet.patrice@free.fr wrote:
hello, you can use [value foo] and [expr foo*$f1] when they are in the same patch, [expr foo] wont work in another one, like with block~, that's why you won't need $0
----- Mail Original ----- De: "Derek Holzer"derek@umatic.nl À: "Matteo Sisti Sette"matteosistisette@gmail.com, "pd-list"PD-list@iem.at Envoyé: Samedi 27 Mars 2010 21h06:35 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne Objet: Re: [PD] expr size() refuses some array names
Sorry, meant this in second example:
[bang< | [f $0] | [expr size("$0foo")]
But you probably knew that!
D.
On 3/27/10 9:04 PM, Derek Holzer wrote:
What if you bang a [f $1] and send it to [expr size("$1foo")]?
Likewise with "bang"--->[f $0]--->[expr size("$0foo")]?