3dup ( x y z -- x y z x y z ) (original) (raw)

3dup ( x y z -- x y z x y z )
Factor handbook » The language » Shuffle words

Prev: 2dup ( x y -- x y x y )
Next: over ( x y -- x y x )

Vocabulary
kernel

Word description
This is a shuffle word, rearranging the top of the datastack as indicated by the word's stack effect: ( x y z -- x y z x y z ).

Definition

IN: kernel

PRIMITIVE: 3dup ( x y z -- x y z x y z )