Language Element | Short Description |
---|---|
Bitwise Left Shift Operator (shl) | Left shifts the bits of an expression. |
Bitwise Right Shift Operator (shr) | Right shifts the bits of an expression. |
Left shifts the bits of an expression.result = expression1 shl expression2Arguments
resultAny variable.expression1, expression2The shl operator looks at the binary representation of the values of two expressions and does a bitwise left shift operation on them. If one or both expressions are Null expressions, result is Null.Any expressions.
Right shifts the bits of an expression.result = expression1 shr expression2Arguments
resultAny variable.expression1, expression2The shr operator looks at the binary representation of the values of two expressions and does a bitwise right shift operation on them. If one or both expressions are Null expressions, result is Null.Any expressions.