PushStackArray

Last Updated2014-11-15
Created At2008-04-13

Pushes a copy of an array of cells onto the end of a stack. The cells are pushed as a block (i.e. the entire array takes up one stack slot), rather than pushing each cell individually.

native void PushStackArray(Handle stack, const any[] values, int size = -1)

Parameters

Handle stack
Stack Handle.
const any[] values
Block of values to copy.
int size
If not set, the number of elements copied from the array will be equal to the blocksize. If set higher than the blocksize, the operation will be truncated.

Return Value

void

Error

Invalid Handle or out of memory.