thanks for that. by state-saving do you mean saving in a different file other than the .pd file?<br><br><div><span class="gmail_quote">On 4/28/07, <b class="gmail_sendername">Frank Barknecht</b> <<a href="mailto:fbar@footils.org">
fbar@footils.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hallo,<br>Peter Worth hat gesagt: // Peter Worth wrote:
<br><br>> i did consider that actually, but then thought that it would make<br>> the abstraction less of a "black box" because the parent needs to<br>> know something about it's inner workings (that it requires an
<br>> array).<br><br>If you want to save something (the array) with the parent patch, then<br>that something has to be in the parent, not in the abstraction itself,<br>because if you save the abstraction, you can only save one array with
<br>the abstraction.<br><br>However if you don't need to save the abstraction and still want to<br>have different arrays inside, you leave the array in the abstraction,<br>but call it something with $0 like [table $0-inside] and set the
<br>values on demand from the parent.<br><br>Attached is an example on what I mean.<br><br>A third possibility would be to use some kind of state-saving system,<br>though I wouldn't save larger tables with that. Larger tables are
<br>better served with their own files, possibly in wav-format.<br><br>Ciao<br>--<br> Frank Barknecht _ ______footils.org_ __goto10.org__<br><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">http://lists.puredata.info/listinfo/pd-list</a><br><br><br></blockquote></div><br>