PopStackCell Function

Pops a cell value from a stack.

bool PopStackCell(Handle stack, any& value, int block, bool asChar)


Handle stack

Stack Handle.

any& value

Variable to store the value.

int block

Optionally specify which block to read from (useful if the blocksize > 0).

bool asChar

Optionally read as a byte instead of a cell.

Return Value

True on success, false if the stack is empty.


Invalid Handle.