k  ( -- n )

published: 24 June 2022 / updated 24 June 2022

Lire cette page en français

 

vocabulary: forth

n is a copy of the next-next-outer loop index.

Example:

: myTripleLoop ( -- ) 
    cr 
    5 0 do 
        cr 
        5 0 do 
            cr 
            5 0 do 
                i 1+  j 1+  k 1+  * * . 
            loop 
        loop 
    loop 
  ; 
myTripleLoop 

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