DQBshiftLeft
FUNCTION

Prototype

DECLARE FUNCTION DQBshiftLeft (BYVAL Value, BYVAL NumBits)

Parameters

Value - INTEGER value to shift

NumBits - Number of bits to shift left

Returns

An INTEGER value representing the shifted number

Description

Performs a logical shift left of the given integer value, and returns the result. This can be useful to multiply by powers of 2 a given number, as this operation is faster than *.

Notes:

See also DQBshiftRight