Xojo.Core.MemoryBlock.Comparison

From Xojo Documentation

Method

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.

Notes

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.