UtilsLib REALbasic Plugin

MemoryBlock.BitTst Method

To determine state of a bit in a bit string, use the BitTst function.

BitTst(
   byteOffset as Integer,
   bit as Integer) as Boolean

Parameters

byteOffset
This parameter can be used to specify byte offset into the MemoryBlock.
bit
0 based Integer ID of a bit to check.

Returns

Boolean

Remarks

This function is not available on REALbasic 5.0 systems.

Supported Platforms:

  • PPC - MacOS 9
  • Carbon - MacOS 9 and MacOS X (PEF)
  • MacOS X PPC - (Mach-O)
  • MacOS X Universal Binary (Mach-O)
  • Win32 - Windows
  • Linux x86

    See Also

    MemoryBlock Class Extension