Stack
Stack. You can use variables of the stack type for working with stacks. The stack type is inherited from the arr type. So, you can also use methods of the arr type.
Methods
stack.pop | Extracting an item. |
stack.popval | Extracting an number. |
stack.push | Add an item to a stack. |
stack.top | Get the top item in a stack. |
Type
stack | The main structure of the stack. |