Ah well, that's what I've done.<br><br>Cheers,<br>Ed<br><br><b><i>Charles Henry &lt;czhenry@gmail.com&gt;</i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> It will not work.  Here is our function prototype:<br>EXTERN void *copybytes(void *src, size_t nbytes);<br><br>The thing to see here, is that it doesn't actually copy the data to a<br>location you specify.  It creates a copy of the data, somewhere in<br>memory, and returns a pointer to the location.  If you want to have a<br>continuous array of numbers, you'd have to copy them one at a time<br>from one array to the other anyhow.<br><br>I suggest to just use getbytes() and for loops to do the assignment.<br><br>Chuck<br><br><br>On 9/16/07, Ed Kelly <morph_2016@yahoo.co.uk> wrote:<br>&gt; Hi again to all devs,<br>&gt;<br>&gt; Is there any way to use copybytes to take a chunk out of an array? Say, to<br>&gt; copy elements 0-10 of an array into
 another buffer, then concatenate<br>&gt; elements 20-30 onto the end of it?<br>&gt;<br>&gt; B3st<br>&gt; Ed++<br>&gt;<br>&gt;<br>&gt; Lone Shark "Aviation" out now on<br>&gt; http://www.pyramidtransmissions.com<br>&gt; http://www.myspace.com/sharktracks<br>&gt;<br>&gt;  ________________________________<br>&gt;  Yahoo! Answers - Get better answers from someone who knows. Try it now.<br>&gt; _______________________________________________<br>&gt; PD-dev mailing list<br>&gt; PD-dev@iem.at<br>&gt; http://lists.puredata.info/listinfo/pd-dev<br>&gt;<br>&gt;<br></morph_2016@yahoo.co.uk></blockquote><br><BR><BR>Lone Shark "Aviation" out now on http://www.pyramidtransmissions.com<br>http://www.myspace.com/sharktracks<p>&#32;
      <hr size=1>
Try <a href="http://us.rd.yahoo.com/mailuk/taglines/gmail/see_difference/*http://uk.rd.yahoo.com/evt=48525/*http://uk.mail.yahoo.com">Yahoo! Mail</a> now with Unlimited Storage and see the difference.