SHR Operator

Performs a right shift operation on a bit pattern.

Syntax

pattern SHR amount

Parts

pattern
Required integer expression
amount
Required integer expression

Remarks

If pattern is a signed data type — Tiny, Short, Integer, Int, Long, or Huge — an arithmetic right shift is performed. An arithmetic shift is ...

If pattern is an unsigned data type — Byte, UShort, UInteger, UInt, ULong, or UHuge — a logical right shift is performed. A logical shift is ...

Examples

See also