Ah, I got the same error!&nbsp; I didn&#39;t check if it actually created it though.&nbsp; I&#39;ll just extend the struct though, that seems cleaner.<br><br>Cheers!<br><br>-Brendan<br><br><div><span class="gmail_quote">On 7/8/07, <b class="gmail_sendername">
Frank Barknecht</b> &lt;<a href="mailto:fbar@footils.org">fbar@footils.org</a>&gt; 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>Frank Barknecht hat gesagt: // Frank Barknecht wrote:<br><br>&gt; You create a &quot;points&quot; instance with [append] as well. The problem is,<br>&gt; that [append] needs to set one field of the struct, when creating an
<br>&gt; instance through an incoming message. But you cannot set an array with<br>&gt; a message directly<br><br>Oh, I just found out, that you *can* indeed do this and create an<br>array directly, as in attached patch. Pd warns &quot;error:
<br>pd-points.array1: not a number&quot;, it ignores the value of that number,<br>but still creates the array. For clarity I would still recommend to do<br>as below:<br><br>&gt; so you should extend your struct definition by at
<br>&gt; least one float variable. The implicit variables &quot;x&quot; or &quot;y&quot; come to<br>&gt; mind.<br>&gt;<br>&gt; So the solution is: you use [struct points float x array array1 point]<br>&gt; instead of your defintion, and then append with [append points x].
<br><br>Ciao<br>--<br> Frank Barknecht&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _ ______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 -&gt; 
<a href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br><br><br></blockquote></div><br>