swap  ( n1 n2 -- n2 n1 )

published: 9 January 2022 / updated 16 February 2022

Lire cette page en français

 

vocabulary: forth

Swaps values at the top of the stack.

Example:

2 5 SWAP 
.   \ display 2 
.   \ display 5 

Legal: site web personnel sans commerce / personal site without seling