PopStackArray Function

Pops an array of cells from a stack.

bool PopStackArray(Handle stack, any[] buffer, int size)

Parameters

Handle stack

Stack Handle.

any[] buffer

Buffer to store the array in.

int size

If not set, assumes the buffer size is equal to the blocksize. Otherwise, the size passed is used.

Return Value

True on success, false if the stack is empty.

Errors

Invalid Handle.