rdrop  ( S: -- R: n -- )

published: 9 January 2022 / updated 2 December 2023

Lire cette page en français

 

vocabulary: forth

Discard top item of return stack.

rdrop has the same action as r> drop

Example:

: myTest ( n -- ) 
    >r 
    r@ 2 - . 
    rdrop 
  ; 

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