Method ADT.LowLevelStack()->pop()
- Method
pop
ValueTypepop(void|zeroval)
array(ValueType) pop(int(1..)val)- Description
Pops and returns the top
valentries from the stack. If no value is given orvalis0, 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