14 lines
314 B
Plaintext
Raw Normal View History

2013-09-15 17:12:57 +02:00
<h3>OR logical operator</h3>
Returns 1 when condition a or b is true.
<h4>Syntax</h4>
<pre> condition a OR condition b </pre>
<h4>Arguments</h4>
None
<h4>Example</h4>
<pre> 4 = 2+2 OR 1 = 1 &rarr; returns 1 </pre>
<pre> 4 = 2+2 OR 1 = 2 &rarr; returns 1 </pre>
<pre> 4 = 2 OR 1 = 2 &rarr; returns 0 </pre>