UtilsLib REALbasic Plugin

MemoryBlock.BitSet Method

To set a specified bit in a MemoryBlock to a 1, use the BitSet method.

BitSet(
   byteOffset as Integer,
   bit as Integer)

Parameters

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

Remarks

This method 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