This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| crpl:docs:or [2014/07/08 22:41] – Added example, improved description ParkourPenguin | crpl:docs:or [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ~~DISCUSSION~~ | + | |
| <- [[crpl: | <- [[crpl: | ||
| ===== or ===== | ===== or ===== | ||
| - | ^Arguments^Result^Notation^ | + | or |
| - | |Two items on the stack|The conditional OR of the two arguments |'' | + | |
| === Description === | === Description === | ||
| Line 12: | Line 10: | ||
| If either items are TRUE, or both are TRUE, it returns TRUE to the stack. If both items are FALSE, FALSE is returned to the stack. | If either items are TRUE, or both are TRUE, it returns TRUE to the stack. If both items are FALSE, FALSE is returned to the stack. | ||
| === Examples === | === Examples === | ||
| - | < | + | < |
| - | TRUE FALSE Trace #prints out 1 (TRUE) to the tracelog | + | TRUE TRUE |
| - | FALSE TRUE Trace #prints out 1 (TRUE) to the tracelog | + | TRUE FALSE or Trace |
| - | FALSE FALSE Trace # | + | FALSE TRUE |
| + | FALSE FALSE or Trace # | ||