<- CRPL reference <- Stack Manipulation
Arguments | Result | Notation |
---|---|---|
Two items on the stack | A duplicate of the two original items | n1 n2 – n1 n2 n1 n2 |
Duplicates the top two items currently on the stack without removing the original pair.
# Create a set of 4 coordinates that define a square # of 10 cells either way from the unit's current coordinates CurrentCoords dup2 10 add swap 10 add swap