This shows you the differences between two versions of the page.
xrpl:and [2019/03/03 21:11] – created Karsten75 | xrpl:and [2021/03/24 15:13] (current) – removed Karsten75 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | |||
- | ===== and ===== | ||
- | |||
- | ^Arguments^Result^Notation^ | ||
- | |bool bool| bool| [bool bool- bool] | | ||
- | |||
- | |||
- | === Description === | ||
- | Pops two items from the stack and treats them as TRUE/FALSE (0/1 or Boolean) values. If they are both TRUE, 1 is pushed to the stack. Otherwise, 0 is pushed to the stack. | ||
- | |||
- | === Examples === | ||
- | <code prpl>if (1 and (true)) | ||
- | trace(" | ||
- | endif | ||
- | </ | ||