DQBshiftRight
FUNCTION

Prototype

DECLARE FUNCTION DQBshiftRight (BYVAL Value, BYVAL NumBits)

Parameters

Value - INTEGER value to shift

NumBits - Number of bits to shift right

Returns

An INTEGER value representing the shifted number

Description

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

Notes:

See also DQBshiftLeft