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:<br>
<br>[openpanel]<br>| <br>[trigger s b]<br>| |<br>| [f $0]<br>| |<br>[pack s f ]<br>|<br>[read -resize $1 $2-a $2-b (<br><br>Hope this makes sense.<br><br>JN<br><br><div class="gmail_quote">
On Wed, Jan 7, 2009 at 1:52 PM, David Schaffer <span dir="ltr"><<a href="mailto:schafferdavid@hotmail.com">schafferdavid@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff">
<div><font face="Arial" size="2">Hi there, </font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2"> 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).</font></div>
<div><font face="Arial" size="2"> Here is the part of the patch
that causes problems:</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><img alt="Dolarsign problem..." src="cid:1DFEA301EA3F4B65BA691318DDB58589@leslie26551120" align="baseline" border="0" hspace="0"></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">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. </font></div>
<div> </div>
<div><font face="Arial" size="2">Does anyone have a clue to what's going on in
this patch?</font></div>
<div> </div>
<div><font face="Arial" size="2">Thank you!</font></div>
<div> </div>
<div><font face="Arial" size="2">David S</font></div>
<div> </div>
<div><font face="Arial" size="2"><a href="http://www.flickr.com/photos/schafferdavid/" target="_blank">http://www.flickr.com/photos/schafferdavid/</a><br><a href="http://audioblog.arteradio.com/David_Schaffer/" target="_blank">http://audioblog.arteradio.com/David_Schaffer/</a></font></div>
</div>
<br>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br>