This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
crpl:docs:do [2019/04/14 18:36] – Clarified that loops can be nested more just indexes are unreachable, added hyperlinks, cleaned up. Grabz | crpl:docs:do [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ~~DISCUSSION~~ | + | |
<- [[crpl: | <- [[crpl: | ||
===== do ===== | ===== do ===== | ||
Line 10: | Line 10: | ||
The statements following the do, up to the loop statement, are executed repeatedly. Each iteration (loop), the initial value (Index) is incremented by one at the bottom of the loop and compared to Limit. When Index=Limit, | The statements following the do, up to the loop statement, are executed repeatedly. Each iteration (loop), the initial value (Index) is incremented by one at the bottom of the loop and compared to Limit. When Index=Limit, | ||
- | Loops can be nested, however, indexes of loops more than 3 deep will become unreachable. See: [[crpl: | + | Loops can be nested, however, indexes of loops with a nesting difference |
For more complex loops, see [[crpl: | For more complex loops, see [[crpl: |