OK, it's true; Variant.Hash is currently not unique, even for
distinct objects (or integers), and it's been this way since at least
2003. It's been fixed for the next release of REALbasic.
Meanwhile, what to do? A plugin could trivially give you the address
of an object. Otherwise, you could use a dictionary to assign each
object a unique value, as Will suggested.
Best,
- Joe
--
Joe Strout REAL Software, Inc.
Vote for REALbasic (twice!) in the LinuxWorld Reader's Choice Awards:
http://linux.sys-con.com/general/readerschoice.htm
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|