This shows you the differences between two versions of the page.
xrpl:neq0 [2019/03/03 23:21] – created Karsten75 | xrpl:neq0 [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | |||
- | ===== neq0 ===== | ||
- | |||
- | ^Arguments^Result^Notation^ | ||
- | |number| bool| [number- bool] | | ||
- | |||
- | |||
- | === Description === | ||
- | Top item is popped from the stack and Compared to not being 0. 0 or 1 is pushed back to the stack where 0 indicates false and 1 indicates true. | ||
- | |||
- | === Examples === | ||
- | <code prpl>if (1 neq0) | ||
- | trace(" | ||
- | endif | ||
- | </ | ||