OR logical operator

Returns 1 when condition a or b is true.

Syntax

 condition a OR condition b 

Arguments

None

Example

 4 = 2+2 OR 1 = 1  → returns 1 
 4 = 2+2 OR 1 = 2  → returns 1 
 4 = 2   OR 1 = 2  → returns 0