NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
void ArrayInit ( variant &  aout[],
variant  value,
unsigned int  count 

Initialize an array.

Initialize the array to contain count elements with each element equal to the value provided. To initialize a multi-dimensional array, the value should be an array of N-1 dimensions, where N is the number of dimensions in the array being initialized.

aoutThe output array to initialize.
valueThe value to initialize each element to.
countThe number of elements to create in the output array.
You cannot use NXC expressions with this function
ex_ArrayInit.nxc, ex_getmemoryinfo.nxc, ex_nbcopt.nxc, ex_sysdrawgraphic.nxc, and ex_sysmemorymanager.nxc.