×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts

Changes

Jump to navigation Jump to search

Or

5 bytes added, 10:24, 19 February 2012
m
:<syntaxhighlight>(10 > 1) or (10 > 20)</syntaxhighlight>
:Will evaluate to [[True]] since the first expression is true, even though the second expression (10 > 20) is false.
* The whole expression is evaluated as true if '''only one''' of the individual expressions evaluates to true. For example:
:<syntaxhighlight>(10 > 100) or (100 < 2000) or (21 = 1)</syntaxhighlight>
:Will evaluate to [[True]] since the second expression (100 < 2000) is indeed true.

Navigation menu