Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
dupd ( x y -- x x y )
Factor documentation
>
Factor handbook
>
The language
>
Shuffle words
>
Complex shuffle words
Next:
swapd ( x y z -- y x z )
Vocabulary
kernel
Word description
Shuffle word. Rearranges the top of the datastack as indicated in the stack effect pattern.
This word is deprecated
The data flow represented by this shuffle word can be more clearly expressed using
Lexical variables
.
Definition
IN:
kernel
PRIMITIVE:
dupd
( x y -- x x y )