Difference between revisions of "Dup"

From WikiManual
Jump to: navigation, search
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 +
===[[Operators]]:===
 +
 
Duplicate Stack Operator  '''UNARY'''
 
Duplicate Stack Operator  '''UNARY'''
  

Latest revision as of 12:43, 27 June 2014

Operators:

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.