Ah well, that's what I've done.<br><br>Cheers,<br>Ed<br><br><b><i>Charles Henry <czhenry@gmail.com></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>> Hi again to all devs,<br>><br>> Is there any way to use copybytes to take a chunk out of an array? Say, to<br>> copy elements 0-10 of an array into
another buffer, then concatenate<br>> elements 20-30 onto the end of it?<br>><br>> B3st<br>> Ed++<br>><br>><br>> Lone Shark "Aviation" out now on<br>> http://www.pyramidtransmissions.com<br>> http://www.myspace.com/sharktracks<br>><br>> ________________________________<br>> Yahoo! Answers - Get better answers from someone who knows. Try it now.<br>> _______________________________________________<br>> PD-dev mailing list<br>> PD-dev@iem.at<br>> http://lists.puredata.info/listinfo/pd-dev<br>><br>><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> 
<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.