This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
crpl:docs:xor [2014/01/15 17:37] – Added some more info Clean0nion | crpl:docs:xor [2014/07/08 21:13] – ParkourPenguin | ||
---|---|---|---|
Line 12: | Line 12: | ||
If both items are TRUE, 0 is pushed to the stack. If both items are FALSE, 0 is pushed to the stack. If one item is TRUE and the other is FALSE, 1 is pushed to the stack. | If both items are TRUE, 0 is pushed to the stack. If both items are FALSE, 0 is pushed to the stack. If one item is TRUE and the other is FALSE, 1 is pushed to the stack. | ||
=== Examples === | === Examples === | ||
- | < | + | < |
+ | TRUE FALSE Trace #prints out 1 (TRUE) to the tracelog | ||
+ | FALSE TRUE Trace #prints out 1 (TRUE) to the tracelog | ||
+ | FALSE FALSE Trace # | ||