next up previous contents index
Next: Stack/Heap Allocation Up: Stack Manipulation Previous: DUP   Contents   Index

SWAP

Stack Input: Any two types

Stack Output: The reverse of the two types

Operand: None

Since: 1.0

Description:

Switches the places of the first two values on the stack. Type information is preserved for each value.



David Levitan 2006-02-12