BShl

<< Click to Display Table of Contents >>

 

BShl

BShl(Value, Bits)

Returns the Value parameter left-shifted the number of bits specified in the Bits parameter. This method returns an error in case the Bits parameter is outside the allowed range (from zero to 31). This method is available in Links, as well as in scripts.

 

NOTE

This method allows passing an unsigned 32-bit value, in the range between zero and 4,294,967,296, to the Value parameter, but its return value is always a signed 32-bit value, in the range between -2,147,483,648 and 2,147,483,647. If a floating point value is used, only this value's integer part is used.

Was this page useful?