This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
crpl:docs:and [2013/01/14 14:01] – created virgilw | crpl:docs:and [2022/07/01 14:43] (current) – reformat Karsten75 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | TODO | + | |
+ | <- [[crpl: | ||
+ | ===== and ===== | ||
+ | |||
+ | <-bool1 <-bool2 and -> | ||
+ | |||
+ | === 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 4RPL> | ||
+ | TRUE TRUE and Trace # | ||
+ | TRUE FALSE and Trace #prints out 0 (FALSE) to the tracelog | ||
+ | FALSE TRUE and Trace #prints out 0 (FALSE) to the tracelog | ||
+ | FALSE FALSE and Trace # |