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