YENGShortcircuit
From OpenSimulator
(Difference between revisions)
m (Add into category) |
|||
Line 4: | Line 4: | ||
||| will not evaluate right side if left is TRUE | ||| will not evaluate right side if left is TRUE | ||
− | + | Care using () to make complex expressions more clear. | |
+ | |||
+ | [[Category:Scripts]] |
Revision as of 04:36, 22 September 2020
operators &&& and ||| are AND and OR logic operators that evaluate the expression to their left and will only evaluate the expression to their right, if the one at left does not define the result.
&&& will not evaluate right side if left is FALSE ||| will not evaluate right side if left is TRUE
Care using () to make complex expressions more clear.