swapd ( x y z -- y x z )
Factor handbook » The language » Shuffle words » Complex shuffle words

Prev:dupd ( x y -- x x y )
Next:rot ( x y z -- y z x )


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

This word is deprecated
The data flow represented by this shuffle word might be more clearly expressed using Lexical variables.


PRIMITIVE: swapd ( x y z -- y x z )