native

PopStackArray

Syntax

native bool:PopStackArray(Stack:handle, any:buffer[], size = -1);

Description

Pops an array of cells from a stack.

Parameters

handle Stack handle
buffer Array to copy value to
size Size of buffer, if not set (-1) assumes the size is equal to
the stack blocksize

Return

True on success, false if the stack is empty

Error

If an invalid handle is provided an error will be thrown.