This shows you the differences between two versions of the page.
xrpl:endwhile [2019/03/03 21:58] – created Karsten75 | xrpl:endwhile [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | |||
- | ===== endwhile | ||
- | |||
- | ^Arguments^Result^Notation^ | ||
- | | | | [ - ] | | ||
- | |||
- | |||
- | === Description === | ||
- | Returns execution to the ' | ||
- | |||
- | === Examples === | ||
- | <code prpl>5 -> | ||
- | while | ||
- | <-y gt(0) #is y greater than zero? | ||
- | repeat #repeat this section of code | ||
- | trace(< | ||
- | <-y sub(1) ->y #subtract 1 from y so we don't end in infinite loop | ||
- | endwhile | ||
- | </ | ||