⇐ Index

or

OR

Description

Pops two items from the stack, treats them as boolean values, β€˜ors’ them, and pushes 0 or 1 back to the stack. If one or both items evaluate to True, it returns TRUE (1) to the stack. If both items evaluate to FALSE, FALSE (0) is returned to the stack.

Examples

if (1 or (false))
    trace("1 or false is true")
endif

⇐ Index