Vanguard Software
Forecasting & Planning Solutions

contents.gifindex.gifprev1.gifnext1.gif

Logical Or

Format: x || y

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

Returns: (bool) True if either x or y is 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 Or without look-ahead, turn Logical Look-Ahead off in the Calculation section of the System Options dialog box.

Examples: true||true = true

true||false = true

false||true = true

false||false = false

3||0 = 3

0||2 = 2

Qualifies:=Income<10000||Children>3 = creates a node whose value is true if either Income < 10000 OR Children > 3

See Also: Logical And, Add, Logical Not, true, false

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

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