Vanguard Software
Forecasting & Planning Solutions

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

  Forecasting Software  |  Strategic Planning Software  |  Decision Support Software
Decision Tree Analysis  |  Monte Carlo Simulation Software  |  Risk Analysis Software
Portfolio Analysis  |  Expert System Software  |  Online Surveys

Contact Us  |  Terms of Use  |  Privacy Policy  |  Site Map
Vanguard Software
© 2009 Vanguard Software Corporation
Home Products Solutions Services Customers Partners Company
Vanguard
Applying science to business management
Vanguard
Print this page   Email this page to a friend