GetBit

<< Click to Display Table of Contents >>

 

GetBit

GetBit(Value, BitIndex)

Returns the value (True or False) of the Value bit specified by BitIndex. This method returns an error in case the BitIndex 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. If a floating point value is used, only this value's integer part is used.

Was this page useful?