<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div id="yiv1168767801"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt;"><div id="yiv1168767801yui_3_13_0_ym1_7_1388365384205_10"><span id="yiv1168767801yui_3_13_0_ym1_7_1388365384205_16">I can click the nested scalars in Pd-l2ork, though if I move them too far upward I lose the ability to select them.&nbsp; A scaling factor is probably off somewhere in the monstrosity of code that controls this stuff.<br><br>But even if it worked properly, your interface will be limited by the automated, inflexible logic that only registers a click in the 10x10 rectangle enclosing the origin of the drawing instruction.<br><br>-Jonathan<br></span></div><div class="yiv1168767801yqt3310455165"
 id="yiv1168767801yqt37202"><div class="yiv1168767801yahoo_quoted" id="yiv1168767801yui_3_13_0_ym1_7_1388365384205_12" style="display: block;"> <br clear="none"> <br clear="none"> <div class="yiv1168767801yui_3_13_0_ym1_1_1388365384205_3830" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt;"> <div class="yiv1168767801yui_3_13_0_ym1_1_1388365384205_3831" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt;"> <div dir="ltr"> <font face="Arial" size="2"> On Sunday, December 29, 2013 3:03 PM, Joćo Pais &lt;jmmmpais@googlemail.com&gt; wrote:<br clear="none"> </font> </div>  <div class="yiv1168767801y_msg_container"><div id="yiv1168767801"><style type="text/css">#yiv1168767801 
 body {font-size:13px;}</style><div><div>Assuming that this field is further developed, I wanted to leave a question that might (?) be relevant:<br clear="none"></div><div>- when drawing arrays with encapsulated arrays, it's not possible to click-and-drag to change the array contents in the same way it can be done with normal (single-layered) arrays. Or, to click and type numerical values.</div><div><br clear="none"></div><div>As a test you can have this patch from my data-structures workshop:</div><div>- open [pd graphic]</div><div>- you can click/drag the base array in the green line, but you can click/drag the arrays inside it</div><div>- to change these arrays one must go to [pd encapsulated-array], and select the elements through the program</div><div><br clear="none"></div><div>I don't know if this is directly related with "multi-dim arrays", but I thought about warning about this. I haven't seen encapsulated arrays in any other patches, so I don't
 know if many people are aware of this.</div><div><br clear="none"></div><div>Best,</div><div><br clear="none"></div><div>Joćo</div><div><br clear="none"></div><br clear="none"><div class="yiv1168767801yqt7707202938" id="yiv1168767801yqt63384"><blockquote style="margin:0 0 0.80ex;border-left:#0000FF 2px solid;padding-left:1ex;"><div class="yiv1168767801yui_3_13_0_ym1_1_1388365384205_3834" style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt;">How do you do multi-dim arrays in c where each row can have a different number of columns?<br clear="none"><br clear="none">In Pd I would do this:<br clear="none">[struct foo array a data]<br clear="none"><br clear="none">and:<br clear="none"><br clear="none">[struct data symbol svg_drawing_command array a the_data]<br clear="none"><br clear="none">and finally:<br clear="none"><br clear="none">[struct the_data float datum]<br
 clear="none"><br clear="none">In c I've done a character array, an int telling me how big the character array is, an array for the numbers (actually a t_fielddesc array so they are settable per instance), and an int array to tell how many numbers per command.&nbsp; So if the command is "M 10 10 L 20 30 A 1 2 3 4 5 6 7", the char array stores "MLA" and the array of numbers has "10 10 20 30 1 2 3 4 5 6 7".<br clear="none"><br clear="none">I'm sending path data to the gui using this, so I want it to be fast.&nbsp; Is there a better
 way?<br clear="none"><br clear="none">-Jonathan<br clear="none"></div></blockquote></div><br clear="none"></div></div><br clear="none"><br clear="none"></div>  </div> </div>  </div></div> </div></div></div></div></body></html>