Difference between revisions of "Talk:Operator Reference"
Jump to navigation
Jump to search
imported>Gurgate (Created page with "this does not sound to be worded correctly to me. am i thinking about that too hard? :"The OR operator (||) will be true if one of the expressions to its left and right are t...") |
(No difference)
|
Revision as of 15:26, 25 August 2016
this does not sound to be worded correctly to me. am i thinking about that too hard?
- "The OR operator (||) will be true if one of the expressions to its left and right are true, and will short-circuit if the right expression is true (it will not evaluate the left expression at all)."
- and will short-circuit if the right expression is true (it will not evaluate the left expression at all).
- (it will not evaluate the left expression at all)
- and will short-circuit if the right expression is true (it will not evaluate the left expression at all).
Function X() Debug.Notification('x was evaluated') EndFunction Function Y() Debug.Notification('y was evaulated') EndFunction
If(X() || Y()) EndIf
that last bit suggests we would never see 'x was evaluated'. --Darkconsole (talk) 2016-08-25T16:26:29 (EDT)