[PD] here I go again..dynamic abstractions

Chris McCormick chris at mccormick.cx
Fri Feb 6 14:13:49 CET 2009


On Fri, Feb 06, 2009 at 10:51:38AM +0100, IOhannes m zmoelnig wrote:
> Rory Walsh wrote:
> >Thanks IOhannes. I'll be happy soon I feel. If I understand correctly,
> >by changing the names of the GUI's receive symbol to $0-tgl-1 and then
> >using that symbol of '$0-tgl-1' as a send everything should be
> >hunky-dory? I'm afraid it's still not working as I expect, I get a
> >load of "error: 0-tgl-1: no such object" whenever I try to send a
> >message with that symbol. I've attached an updated abstraction. If I
> >can get this to work its going to really simplify my crazy
> >abstraction.
> >
> 
> you are violating the 3rd rule of $-expansion: "there is no $0 in 
> message-boxes".

Just to be a bit more verbose than IOhannes: if you need to get a $0
into a message box, you need to use $1 and a regular object box with $0
before it like this:

[bang(
 |
[$0]
 |
[$1-hello my message(

Best,

Chris.

-------------------
http://mccormick.cx




More information about the Pd-list mailing list