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

contents.gifindex.gifprev1.gifnext1.gif

Logical And

Format: x && y

Arguments: (bool) x, y Any Boolean or numeric expression

Returns: (bool) True if both x and y are true (numerically different from zero), false otherwise

Note: Boolean operators And/Or use a look-ahead feature to prevent rule-based applications from prompting for nonessential user input. To perform a Logical And without look-ahead, turn Logical Look-Ahead off in the Calculation section of the System Options dialog box.

Examples: true&&true = true

true&&false = false

false&&true = false

false&&false = false

4&&0 = 0

4&&2 = 2

AdultMale:=Age>=18&&Sex=="male" = creates a node whose value is true if Age >= 18 AND Sex is equal to "male"

See Also: Logical Or, Multiply, Logical Not, true, false

  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