>r  ( S: n -- R: n )

published: 13 January 2022 / updated 18 January 2022

Lire cette page en français

 

vocabulary: forth

Transfers n to the return stack.

This operation must always be balanced with r>

Example:

\ display n in binary format 
: b. ( n -- ) 
    base @ >r 
    binary . 
    r> base ! 
  ; 

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