SetArray

Last Updated2023-09-27
Created At2014-07-05

Sets an array of cells in an array.

native int SetArray(int index, const any[] values, int size = -1, int block = 0)

Parameters

int index
Index in the array.
const any[] values
Array to copy.
int size
If not set, assumes the buffer size is equal to the blocksize. Otherwise, the size passed is used.
int block
Optionally specify which block to write to (useful if the blocksize > 0).

Return Value

int Number of cells copied.

Error

Invalid index.