i  ( -- n )

published: 8 January 2022 / updated 12 June 2022

Lire cette page en français

 

vocabulary: forth

n is a copy of the current loop index.

Example:

: mySingleLoop ( -- ) 
    cr 
    10 0 do 
        i . 
    loop 
  ; 
mySingleLoop 
\ display 0 1 2 3 4 5 6 7 8 9 

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