I think the problem there is that you have $0 in the message object.
You can't use $0 in messages. You need to replace $0 in the message
with $1 (or $2, depending on where in the message the variable is), put
a [f $0] upstream of the message ( to "capture" the actual number given
to the particular instance of $0) and then use [trigger] and [pack].
For example:
[openpanel]
|
[trigger s b]
| |
| [f $0]
| |
[pack s f ]
|
[read -resize $1 $2-a $2-b (
Hope this makes sense.
JN
Hi there,I'm having troubles using the $0- thing in a abstraction containing two tabread4~ objects that have to keep their identity when several instances of the abstraction are oppened (I mean, not clash identities with the other tabread4~ objects in the other abstractions in a patch).Here is the part of the patch that causes problems:I get a error message saying: "error: 0-a: no such table", although I' ve created them. When I use the "find last error" function, it points to the soundfiler object.Does anyone have a clue to what's going on in this patch?Thank you!David S
_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list