Method ADT.Stack()->pop()
- Method pop
mixedpop(void|intval)- Description
Pops and returns entry
valfrom the stack, counting from the top. If no value is given the top element is popped and returned. All popped entries are freed from the stack.
mixed pop(void|int val)
Pops and returns entry val from the stack, counting
from the top. If no value is given the top element is
popped and returned. All popped entries are freed from
the stack.