And

Syntax

And(Expression1, Expression2, ..., ExpressionN)

Description

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

Examples

And( 5 > 4, 10 < 20) = 1
And( 5 > 4, 10 < 20, 15 < 10) = 0
And( Year < 2005, \Demand Sites\South City:Activity Level[million cap] > 4 )
  = 1 (true) for years before 2005 in which the South City population is greater than 4 million
  = 0 (false) otherwise