SHR= Operator

Does a right-shift on the bits of a variable and assigns the result to the same variable.

Syntax

variable SHR= amount

Parts

variable
A numeric variable.
amount
An integer expression that specifies the number of bits to shift.

Instructions

The two statements that follow are equivalent.

variable SHR= amount
variable = variable SHR amount

Examples

TODO

See also