Vanguard Software
Forecasting & Planning Solutions
Home Products Solutions Services Customers Partners Company
 
Applying science to business management

contents.gifindex.gifprev1.gifnext1.gif

Boolean Operators

There are three Boolean operators And, Or, and Not. These operators are usually used to combine expressions involving the comparison operators described in the preceding section. For example, the following expression returns true if the number represented by x is between 5 and 10.

x>=5&&x<=10

Like the comparison operators, every Boolean operator returns a Boolean value (true or false).

Logical And x&&y

Returns true only if both x and y are true.

Logical Or x||y

Returns true if either x or y is true.

Logical Not !x

Returns true if x is false. Otherwise, Not returns true.

See Also

Conditional Evaluation

Logical Look-Ahead

  Demand Planning  |  Financial Forecasting
Forecasting Software  |  Strategic Planning Software  |  Decision Tree Software
Decision Support Software  |  Expert System Software  |  Online Surveys

Contact Us  |  Terms of Use  |  Privacy Policy  |  Site Map
Vanguard Software
© 2011 Vanguard Software Corporation
Print this page   Email this page to a friend