Hi,
I'm working on an installation with 16 channels. I wrote an abstraction and like to use its local variable inside a [throw~] object. So if the name of the abstraction is [channel], I'm going to use it as [channel 1], [channel 2] ect... and in another sub-patch I'll put [catch~ ch1] [catch~ ch2] .... [catch ch16]
inside the abstraction:
[f $1]
|
[set ch$1(
|
[throw~]
I get the message : "warning: ch1: multiply defined"
and also: "error: throw~ : no matching catch"
What can I do to solve it? Is it possible at all to do it the way I'm trying to?
Also, the abstraction is located inside a sub-patch, and the [catch~] objects are in a different sub-patch. Would Pd be able to connect between the abstraction and all sub-patches of the parent patch?
Thanks a lot for your help here,
ymotion