NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

12.8 Conditional logical operators

The And, Or and Xor operators are called the conditional logical operators. They are only defined on the type Boolean and short-circuit, which is to say in certain situations the second operand will not be evaluated at runtime.

The conditional logical operators are evaluated as follows:

Note that in the case of And and Or the first operand is only ever evaluated once, and the second operand is either not evaluated or evaluated exactly once.

LogicalOperatorExpression ::=
 Expression And Expression |
 Expression Or Expression |
 Expression Xor Expression