[PD] Local Variables in GUI Properties (receive-symbol)

tim vets timvets at gmail.com
Fri Mar 26 17:52:58 CET 2010


2010/3/26 Ben Baker-Smith <bbakersmith at gmail.com>

> > Ben Baker-Smith wrote:
> >> Hello,
> >>
> >> Is there a way to use local variables ($0) in GUI send-symbol /
> >> receive-symbol properties? If I just put in $0 it interprets it as
> >> "0",
> >
> > this is new to me; i have been using $0 in gui-objects for ages.
> >
>
> Not sure what the issue is then. I'm using Pd-Extended 0.41.4 on Mac
> OS 10.4.11 (PPC), at the moment.
>
> I've tested this with toggle, bang, and canvas objects. If I put $0 in
> the send or receive properties everything looks fine until i close and
> re-open properties, then "test-send-$0" becomes "test-send-0" and
> "testreceive$0" becomes "testreceive0". At no point (before or after
> closing / re-opening properties) will the objects send or receive $0
> properly.
>


how about $0-test-send instead of test-send-$0 ?

gr,
Tim



>
> >> and I can't set it after creation because there will be multiple
> >
> > you can: just connect(! with patch cords) the re-naming message to the
> > object, and you are done.
> > but you really shouldn't need it, see above
> >
>
> I can't do it this way in my current patch because I am using canvas
> objects, and they don't have inlets with which to connect patch cords.
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20100326/d83cb183/attachment.htm>


More information about the Pd-list mailing list