Method ADT.Stack()->pop()


Method pop

ElementType pop(void|zero val)

Description

If the top element is popped and returned.


Method pop

variant array(ElementType) pop(int(1..) val)

Description

Pops and returns an array with the top val entries from the stack. All popped entries are freed from the stack.

seealso quick_pop()