Language Element | Short Description |
---|---|
AND Operator | Performs a logical conjunction or bitwise AND on two expressions. |
NOT Operator | Performs logical negation or bitwise NOT on an expression. |
OR Operator | Performs a logical disjunction on two expressions. |
XOR Operator | Performs a logical exclusive OR or bitwise exclusive OR on two expressions. |
Performs a logical conjunction or bitwise AND on two expressions.result = expression1 and expression2Arguments
resultAny numeric expressionexpression1, expression2If one or both expressions are Null expressions, result is Null. If both expressions are Boolean, performs logical conjunction, otherwise performs bitwise AND.Any expressions
Performs logical negation or bitwise NOT on an expression.result = not expressionArguments
resultAny numeric expression.ExpressionIf Expression is Null, result is Null. If Expression is boolean, result is boolean. Otherwise result is integer.Any expression
Performs a logical disjunction on two expressions.result = expression1 or expression2Arguments
resultAny numeric expressionexpression1, expression2If one or both expressions are Null expressions, result is Null. If both expressions are Boolean, performs logical disjunction, otherwise performs bitwise OR.Any expressions
Performs a logical exclusive OR or bitwise exclusive OR on two expressions.result = expression1 xor expression2Arguments
resultAny variable.expression1, expression2If one or both expressions are Null expressions, result is Null. If both expressions are Boolean, performs logical exclusive OR, otherwise performs bitwise exclusive OR.Any expressions.