This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
crpl:docs:do [2014/10/01 15:02] – external edit 127.0.0.1 | crpl:docs:do [2019/04/14 14:42] – Grabz | ||
---|---|---|---|
Line 8: | Line 8: | ||
=== Description === | === Description === | ||
- | 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, |
- | NOTE: Limit comes first, then the initial value (index). | + | Loops can be nested, however, indexes of loops with a nesting difference more than 3 will become unreachable, |
+ | |||
+ | For more complex loops, see [[crpl: | ||
+ | |||
+ | <note tip>Limit comes first, then the initial value (index). | ||
=== Examples === | === Examples === | ||
< | < |