This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
4rpl:commands:do [2023/12/03 09:53] – [Description] chaosbeing | 4rpl:commands:do [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
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 ===== |