This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
crpl:docs:and [2013/01/14 19:09] – external edit 127.0.0.1 | crpl:docs:and [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <- [[crpl: | ||
===== and ===== | ===== and ===== | ||
- | ^Arguments^Result^Notation^ | + | <-bool1 <-bool2 and -> |
- | |Two items on the stack|The conditional AND of the two arguments |'' | + | |
=== Description === | === Description === | ||
- | Pops two items from the stack, treats them as boolean | + | Pops two items from the stack and treats them as TRUE/FALSE (0/1 or Boolean) |
=== Examples === | === Examples === | ||
- | < | + | < |
+ | 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 # | ||