In another thread we stumbled upon a behavior which is confusing many people:
var m1,m2 as MemoryBlock
m1 = "foo"
m2 = "foo"
m1 = m2 // true (? this is surprising)
m1 is m2 // false
The surprising part is that usually in Xojo, when you compare two objects with the = operator, it tells you if the objects are the same object (e.g. one object with two references to it). In this case, MemoryBlocks implement the Operator_Compare operator, so the equals operator (and > and < ) are actually comparing the Contents of the memoryBlocks.