User Tools

Site Tools


4rpl:commands:do

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
4rpl:commands:do [2021/11/18 17:13] – [Description] link [[loop]] Karsten754rpl:commands:do [2023/12/06 20:13] (current) – grammar Karsten75
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
-<=[[4rpl:start| Index]]+<= [[4rpl:start| Index]] \\ 
 +<= [[4rpl:start#Flow Control]]  
  
 ====== do ====== ====== do ======
Line 10: Line 12:
 When the index counter is one away from the limit, execution will proceed at the first statement following Loop. Loops can be nested, but no more than 3 deep. When the index counter is one away from the limit, execution will proceed at the first statement following Loop. Loops can be nested, but no more than 3 deep.
  
-NOTE: If (limit) is less than (start), the the loop decrements rather than incrementing+NOTE: If (limit) is less than (start), the the loop decrements rather than increments
-The range of a do loop is always (start,limit] (inclusive of start and exclusive of limit).+The range of a do loop is always [start->limit] (inclusive of start and exclusive of limit).
  
 ===== Examples ===== ===== Examples =====
4rpl/commands/do.1637273629.txt.gz · Last modified: 2021/11/18 17:13 by Karsten75