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

Value

NameTypeDescription

return

The result of bit-shifting Operand left by Shift places.

Thank you for your feedback!

Was this page helpful?