Ah, I got the same error! I didn't check if it actually created it though. I'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> <<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>Frank Barknecht hat gesagt: // Frank Barknecht wrote:<br><br>> You create a "points" instance with [append] as well. The problem is,<br>> that [append] needs to set one field of the struct, when creating an
<br>> instance through an incoming message. But you cannot set an array with<br>> 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 "error:
<br>pd-points.array1: not a number", 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>> so you should extend your struct definition by at
<br>> least one float variable. The implicit variables "x" or "y" come to<br>> mind.<br>><br>> So the solution is: you use [struct points float x array array1 point]<br>> instead of your defintion, and then append with [append points x].
<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>