This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| crpl:docs:break [2018/07/06 10:19] – removed wrong example, added new example Grabz | crpl:docs:break [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ~~DISCUSSION~~ | + | |
| <- [[crpl: | <- [[crpl: | ||
| ===== break ===== | ===== break ===== | ||
| Line 21: | Line 21: | ||
| endif | endif | ||
| loop | loop | ||
| - | </ | + | </ |
| + | |||
| + | < | ||
| + | # Trace random numbers between 0 and 9, until we find number 0. | ||
| + | |||
| + | ShowTraceLog | ||
| + | ClearTraceLog | ||
| + | while TRUE repeat | ||
| + | 0 10 RandInt -> | ||
| + | < | ||
| + | < | ||
| + | break | ||
| + | endif | ||
| + | endwhile | ||
| + | </ | ||