This shows you the differences between two versions of the page.
xrpl:or [2019/03/03 23:26] – created Karsten75 | xrpl:or [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | |||
- | ===== or ===== | ||
- | |||
- | ^Arguments^Result^Notation^ | ||
- | |bool bool| bool| [bool bool- bool] | | ||
- | |||
- | |||
- | === Description === | ||
- | Pops two items from the stack, treats them as boolean values, ' | ||
- | If either items are TRUE, or both are TRUE, it returns TRUE to the stack. If both items are FALSE, FALSE is returned to the stack. | ||
- | |||
- | === Examples === | ||
- | <code prpl>if (1 or (false)) | ||
- | trace(" | ||
- | endif | ||
- | </ | ||