realbasic-nug
[Top] [All Lists]

Re: How to compute the address of an object?

To: "REALbasic NUG" <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: How to compute the address of an object?
From: "Kiam" <kiam at avpnet dot org>
Date: Sat, 30 Dec 2006 05:06:56 +0100
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Organization: AVPnet
References: <0ED3EC0B-DC5D-4D74-82F3-F0EA3487C02D at mac dot com> <14644E31-30F3-4492-B233-BACEDC1FF20B at declareSub dot com>
----- Original Message -----
From: "Charles Yeomans" <charles at declareSub dot com>
To: "REALbasic NUG" <realbasic-nug at lists dot realsoftware dot com>
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.
--
~Kiam
_______________________________________________
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>


<Prev in Thread] Current Thread [Next in Thread>