pop

pop topvalues from stack


Parameters

pop number :integer

Attributes

discarddo not return anything

Returns

  • :any

Examples

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

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

Related