This shows you the differences between two versions of the page.
xrpl:endif [2019/03/03 21:54] – created Karsten75 | xrpl:endif [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | |||
- | ===== endif ===== | ||
- | |||
- | ^Arguments^Result^Notation^ | ||
- | | | | [ - ] | | ||
- | |||
- | |||
- | === Description === | ||
- | Delimits the scope of an if-else-statement. Instructions between the if and endif statement are conditionally executed, depending on the results of the if evaluation. | ||
- | |||
- | === Examples === | ||
- | <code prpl>if (<-var eq (1)) | ||
- | #Do something | ||
- | else | ||
- | #Do something else | ||
- | endif | ||
- | </ | ||