PushStackArray Function

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.

void PushStackArray(Handle stack, const any[] values, int size)


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.


Invalid Handle or out of memory.