Logical Operators

ChaosPro trans Logical Operators
 Example   Name   Result 
ChaosPro trans Logical Operators
 ! a   Not   True if a is not true. 
ChaosPro trans Logical Operators
 a && b   And   True if both a and b are true. 
ChaosPro trans Logical Operators
 a || b   Or   True if either a or b is true. 
ChaosPro trans Logical Operators

ChaosPro currently does not use lazy (aka short-circuit) evaluation for the AND/OR logical operators:
If the expression on the left side of OR evaluates to TRUE, then ChaosPro will evaluate the expression on the right side of OR although this is not necessary because the result of this operation will not change any more.
A future version of ChaosPro may have a short-circuit evaluation for the AND/OR logical operators.

Logical Operators