ArrayStack.Top Method

Reads a cell value from a stack without removing it.

any Top(int block, bool asChar)

Parameters

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

Value read from the stack.

Errors

The stack is empty.