Stack.pop

Reads and removes an array of items from the stack,

  1. T pop()
  2. T[] pop(uinteger count)
    class Stack(T)
    T[]
    pop
    (
    bool reverse = false
    )

Return Value

Type: T[]

the items read

Arguments: count is the number of elements to return reverse, if true, elements are read in reverse, last-pushed is last in array

Throws

Exception if there are not enough items in stack

Meta