User Tools

Site Tools


prpl:swap

<- PRPL reference <- Stack Manipulation

swap

ArgumentsResultNotation
value value value value [value value- value value]

Description

Swaps the order of the top two items on the stack.

Examples

trace2(swap(1 2)) #prints '2 1' 
prpl/swap.txt · Last modified: 2016/12/02 18:33 by 127.0.0.1