[PD] here I go again..dynamic abstractions

Georg Werner georg at fricklr.de
Fri Feb 6 23:08:05 CET 2009


can somebody explain why there is a "3rd rule of $-expansion: 'there is 
no $0 in message-boxes'".
i stumble every now and then about it and it is IMHO not 
self-explanatory. it is not hard to implement and wouldn't make problems 
with existing patches - because $0 is never used in messages. and would 
make things easier not only for beginners.
just my 2 cents.

Chris McCormick schrieb:
> 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
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list

More information about the Pd-list mailing list