Difference between revisions of "Dup"
From WikiManual
m |
|||
| Line 1: | Line 1: | ||
| + | ===[[Operators]]:=== | ||
| + | {{Basic Commands}} | ||
| + | |||
Duplicate Stack Operator '''UNARY''' | Duplicate Stack Operator '''UNARY''' | ||
Revision as of 21:47, 23 December 2005
Operators:
Basic Commands: |
Duplicate Stack Operator UNARY
Places an additional copy of the top value in the stack on the stack. Thus:
5 dup
will place two 5s on top of the stack.