From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Xojo.Core.MemoryBlock.Operator_Compare(rhs As Xojo.Core.MemoryBlock) As Integer

Supported for all project types and targets.

MemoryBlocks can be compared with each other using the "=" operator.


MemoryBlocks are considered equal for these conditions:

  • The MemoryBlocks are the same object
  • Both MemoryBlocks' data point to the same location
  • Both MemoryBlocks' size and content are the same

There is no concept of one MemoryBlock being greater than or less than another MemoryBlock.