?do  ( n1 n2 -- )

published: 8 August 2022 / updated 8 August 2022

Lire cette page en français

 

vocabulary: forth

Executes a do loop or do +loop loop if n1 is strictly greater than n2.

Example:

DECIMAL 
: qd ?DO I LOOP ; 
   789   789 qd \  
 -9876 -9876 qd \  
     5     0 qd \  display: 0 1 2 3 4 

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