From: "Kiam" <[EMAIL PROTECTED]>
Date: Sat, 30 Dec 2006 05:06:56 +0100
----- Original Message -----
From: "Charles Yeomans" <[EMAIL PROTECTED]>
To: "REALbasic NUG" <[email protected]>
Sent: Saturday, December 30, 2006 4:37 AM
Subject: Re: How to compute the address of an object?
Use Variant.Hash. I think it's documented to return distinct
values for
distinct objects.
It does, but I think it's very slow (for what I understood).
Rather than, I would ask if the unique ID must still be unique
after it has
been saved in a database / file, and then loaded back.
Actually, I cannot think to a different way to get an unique ID
that is not
too slow. If you want an ID that is persistent after many runs of the
program, then there is a solution.
Perhaps a plugin can give you the object address. Not mine though :)
Mine only gives you string addresses.
--
http://elfdata.com/plugin/
_______________________________________________
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>