User Tools

Site Tools


crpl:docs:swap

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
crpl:docs:swap [2013/01/14 19:01] – created virgilwcrpl:docs:swap [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
-TODO+ 
 +<- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#stack_manipulation|Stack Manipulation]] 
 +=====  swap  ===== 
 + 
 +^Arguments^Result^Notation^ 
 +|Two items on the stack|The original two items, in reversed order |''n1 n2 -- n2 n1 ''
 + 
 + 
 +=== Description === 
 +Swaps the order of the top two items on the stack. 
 +=== Examples === 
 +<code> 2 3 swap trace</code>  
crpl/docs/swap.1358190110.txt.gz · Last modified: 2025/02/14 14:56 (external edit)