swap  ( n1 n2 -- n2 n1 )

published: 28 January 2023 / updated 28 January 2023

Lire cette page en français

 

vocabulary: forth

Swaps values at the top of the stack.

Example:

2 5 swap 
.   \ display 2 
.   \ display 5