Method ADT.LowLevelStack()->pop()
- Method
pop
ValueType
pop(void
|zero
val
)
array
(ValueType
) pop(int(1..)
val
)- Description
Pops and returns the top
val
entries from the stack. If no value is given orval
is0
, the top element is popped and returned. All popped entries are freed from the stack.- Note
If the stack is empty an error will be thrown.
- See also