<- [[.:prplreference| PRPL reference]] <- [[.:prplreference#stack_manipulation|Stack Manipulation]] ===== swap ===== ^Arguments^Result^Notation^ |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'