Skip to main content

BitwiseShiftLeft

Type

operator

Summary

Shifts the bits of Operand left.

Syntax

<Operand> shifted left by <Shift> bitwise

Description

Shifts the bits of Operand left. Shifting the bits of Operand left by x is equivalent to multiplying by 2^x.

Parameters

NameTypeDescription

Operand

An expression which evaluates to an integer.

Shift

An expression which evaluates to an integer.

Examples

variable tVar
put 7 shifted left by 2 bitwise into tVar -- tVar contains 28
Thank you for your feedback!

Was this page helpful?