This shows you the differences between two versions of the page.
| xrpl:else [2019/03/03 21:53] – created Karsten75 | xrpl:else [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | |||
| - | ===== else ===== | ||
| - | |||
| - | ^Arguments^Result^Notation^ | ||
| - | | | | [ - ] | | ||
| - | |||
| - | |||
| - | === Description === | ||
| - | When the if statement evaluates to False, then the statements following the else, up to the endif, are executed instead. | ||
| - | |||
| - | === Examples === | ||
| - | <code prpl>if (<-var eq (1)) | ||
| - | #Do something | ||
| - | else | ||
| - | #Do something else | ||
| - | endif | ||
| - | </ | ||