<div dir="ltr"><div dir="ltr">Renato,<br>If you know the sizes of your vectors you
could simply pass the elements of your vectors as separate arguments
and populate the various arrays in chuck. The following makes two arrays -- one with two elements, one with three:<br><br>chuck test.ck:1:2:3:4:5<br>
<br><a href="http://test.ck/" target="_blank">test.ck</a> as follows:<br><br>int vect1[2];<br>int vect2[3];<br><br>for( 0 =&gt; int i; i &lt; me.args(); i++) {<br>&nbsp;&nbsp;&nbsp; //fill vect1<br>&nbsp;&nbsp;&nbsp; if(i == 0) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; for( 0 =&gt; int i; i &lt; vect1.cap(); i++) {<br>

&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Std.atoi(me.arg(i)) =&gt; vect1[i];<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp; //fill vect2<br>&nbsp;&nbsp;&nbsp; if(i == 2) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; for( 0 =&gt; int i; i &lt; vect2.cap(); i++) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Std.atoi(me.arg(i+2)) =&gt; vect2[i];<br>

&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; }<br><br>}<br><br>for(0 =&gt; int i; i &lt; vect1.cap(); i++) {<br>&nbsp;&nbsp;&nbsp; &lt;&lt;&lt;&quot;vect1&quot;, vect1[i]&gt;&gt;&gt;;<br>}<br><br>for(0 =&gt; int i; i &lt; vect2.cap(); i++) {<br>&nbsp;&nbsp;&nbsp; &lt;&lt;&lt;&quot;vect2&quot;, vect2[i]&gt;&gt;&gt;;<br>

}<br><br><a href="http://test.ck">test.ck</a> outputs:<br>vect1 1 <br>vect1 2 <br>vect2 3 <br>vect2 4 <br>vect2 5<br></div>
</div>