NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
void ArrayBuild ( variant &  aout[],
variant  src1,
variant  src2,
  ...,
variant  srcN 
)
inline

Build an array.

Build a new array from the specified source(s). The sources can be of any type so long as the number of dimensions is equal to or one less than the number of dimensions in the output array and the type is compatible with the type of the output array. If a source is an array with the same number of dimensions as the output array then all of its elements are added to the output array.

Parameters
aoutThe output array to build.
src1The first source to build into the output array.
src2The second source to build into the output array.
srcNThe first source to build into the output array.
Warning
You cannot use NXC expressions with this function
Examples:
ex_ArrayBuild.nxc, ex_getmemoryinfo.nxc, ex_SysCommHSWrite.nxc, ex_SysDatalogWrite.nxc, and ex_sysmemorymanager.nxc.