Difference between revisions of "Swap"
From WikiManual
(created page) |
(No difference)
|
Latest revision as of 22:31, 19 February 2014
This swaps the top two values on the integer stack. If there are fewer than two values on the stack, then the operator does nothing.
The following code stores a value of 5 in .up:
.up 5 swap store