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

On Wed, Jan 7, 2009 at 1:52 PM, David Schaffer <schafferdavid@hotmail.com> wrote:
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:
 
Dolarsign problem...
 
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
 
http://www.flickr.com/photos/schafferdavid/
http://audioblog.arteradio.com/David_Schaffer/

_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list