understand. good solution that meets the problem. might make reading and understanding the patch a little more difficult though.
On Fri, 2005-09-09 at 22:11 +0100, ClaudiusMaximus wrote:
shift8 wrote:
hi all -
how hard would it be to code in an option for an additional arg to [send] that gives it scope? for example, [s foo] sends foo globaly.
Probably quite hard, and not really worth it given you can use $0 as a local patch prefix.
[s foo local] would make the send local to it's containg patch, and subpatches, but not to the parent patch.
Try [s $0-foo] for this case.
You can pass $0 to contained abstractions so they can [r $1-foo] where $1 is the parent's $0 that has been passed in.
[s foo patch] would make it local only to the containing patch, and not subpatches or parent. this make sense?
Try [s $0-foo] and use abstractions instead of subpatches for this case.
-shift8
Claude
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list