[PD] A dollarsign problem, please help!
Frank Barknecht
fbar at footils.org
Thu Jan 8 01:34:51 CET 2009
Hallo,
Joe Newlin hat gesagt: // Joe Newlin wrote:
> I think the problem there is that you have $0 in the message object. You
> can't use $0 in messages. You need to replace $0 in the message with $1 (or
> $2, depending on where in the message the variable is), put a [f $0]
> upstream of the message ( to "capture" the actual number given to the
> particular instance of $0) and then use [trigger] and [pack]. For example:
>
> [openpanel]
> |
> [trigger s b]
> | |
> | [f $0]
> | |
> [pack s f ]
Btw. you can also directly use [pack s $0] here. I also often use [list
append $0] when building messages that need the value of $0.
Ciao
--
Frank
More information about the Pd-list
mailing list