POP

Synopsis
POP stackname
Description

Outputs the most recent thing that was pushed on, using PUSH, off the stack whose name is stackname and removes that member from the stack.

Example
MAKE "mystack []
PUSH "mystack 1
PUSH "mystack 2
SHOW :mystack
[2 1]
SHOW POP "mystack
2
SHOW POP "mystack
1

SourceForge.net Logo