Or

Syntax

Or(Expression1, Expression2, ..., ExpressionN)

Description

Performs a logical "OR" operation. Returns a value of one (true) if any one of the parameters is non-zero. Otherwise returns a value of zero (false). You can have any number of expressions, each of which can be a complex logical expression.

Examples

Or( 5 > 4, 10 < 20 ) = 1
Or( 5 > 4, 10 < 20, 15 < 10 ) = 1
Or( 15 < 10, 20 > 30 ) = 0
Or( Year > 2005, \Demand Sites\South City\Single Family:Annual Activity Level[% share] > 50 )
  = 1 (true) if either the year is after 2005 or the Single Family share is greater than 50 percent
  = 0 (false) otherwise