NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
void ArraySubset ( variant &  aout[],
variant  asrc[],
unsigned int  idx,
unsigned int  len 
)
inline

Copy an array subset.

Copy a subset of the source array starting at the specified index and containing the specified number of elements into the destination array.

Parameters
aoutThe output array containing the subset.
asrcThe input array from which to copy a subset.
idxThe start index of the array subset.
lenThe length of the array subset.
Warning
You cannot use NXC expressions with this function
Examples:
ex_ArraySubset.nxc.