This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
4rpl:commands:do [2023/12/03 04:53] – [Description] chaosbeing | 4rpl:commands:do [2023/12/06 20:13] (current) – grammar Karsten75 | ||
---|---|---|---|
Line 12: | 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 ===== |