This is an old revision of the document!
~~DISCUSSION~~ <- CRPL reference <- Logical Operators
Arguments | Result | Notation |
---|---|---|
Two items on the stack | The conditional AND of the two arguments | b1 b2 – b3 |
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.
TRUE TRUE and Trace #prints out 1 (TRUE) to the tracelog 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 #prints out 0 (FALSE) to the tracelog