YENGShortcircuit
From OpenSimulator
(Difference between revisions)
(Created page with "operators &&& and ||| are AND and OR logic operations evaluate the expression to their left and will only evaluate the expression to their right, if the one at left does not d...") |
|||
Line 1: | Line 1: | ||
operators &&& and ||| are AND and OR logic operations 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. | operators &&& and ||| are AND and OR logic operations 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 FALSE |
− | ||| 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 | care using () to make complex expressions more clear |
Revision as of 22:49, 19 September 2020
operators &&& and ||| are AND and OR logic operations 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