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 14:12] – external edit 127.0.0.1 | crpl:docs:while [2021/02/05 11:43] (current) – Rmoved discussion tag Karsten75 | ||
---|---|---|---|
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. | ||
</ | </ | ||
- | |||