Xojo.Core.MemoryBlock.Comparison

From Xojo Documentation

Revision as of 15:39, 24 August 2018 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!
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.