unstack

pop topvalues from stack


Parameters

unstack number :integer

Attributes

discarddo not return anything

Returns

  • :any

Examples

copy
1 2 3 a: unstack 1 ; a: 3 1 2 3 b: unstack 2 ; b: [3 2]

copy
1 2 3 unstack.discard 1 ; popped 3 from the stack

Related