This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| crpl:docs:while [2013/01/14 19:12] – external edit 127.0.0.1 | crpl:docs:while [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | <- [[crpl: | ||
| ===== while ===== | ===== while ===== | ||
| Line 12: | Line 13: | ||
| === Examples === | === Examples === | ||
| < | < | ||
| - | # outputs a set of sescending | + | # outputs a set of descending |
| ShowTraceLog | ShowTraceLog | ||
| ClearTraceLog | ClearTraceLog | ||
| - | 5 ->y #create temp varialble | + | 5 ->y #create temp variable |
| while <-y 0 gt # is y greater than zero? | while <-y 0 gt # is y greater than zero? | ||
| repeat #repeat this section of code | repeat #repeat this section of code | ||
| Line 22: | Line 23: | ||
| endwhile #rinse and repeat until y is zero. | endwhile #rinse and repeat until y is zero. | ||
| </ | </ | ||
| - | |||