|
  
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
|