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>|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>[trigger s b]<br>|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [f $0]<br>|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<br>[pack s f&nbsp; ]<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">&lt;<a href="mailto:schafferdavid@hotmail.com">schafferdavid@hotmail.com</a>&gt;</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>&nbsp;</div>
<div><font face="Arial" size="2">&nbsp;&nbsp;&nbsp; I&#39;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">&nbsp;&nbsp;&nbsp; Here is the part of the patch 
that causes problems:</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><img alt="Dolarsign problem..." src="cid:1DFEA301EA3F4B65BA691318DDB58589@leslie26551120" align="baseline" border="0" hspace="0"></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">I get a error message saying: &quot;error: 0-a: no 
such&nbsp;table&quot;, although&nbsp;I&#39; ve created them. When I use the &quot;find last 
error&quot; function, it points to the soundfiler object. </font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2">Does anyone have a clue to&nbsp;what&#39;s going on in 
this patch?</font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2">Thank you!</font></div>
<div>&nbsp;</div>
<div><font face="Arial" size="2">David S</font></div>
<div>&nbsp;</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 -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br>