realbasic-nug
[Top] [All Lists]

Re: How to compute the address of an object?

To: realbasic-nug at lists dot realsoftware dot com
Subject: Re: How to compute the address of an object?
From: "Theodore H. Smith" <delete at elfdata dot com>
Date: Sat, 30 Dec 2006 14:13:23 +0000
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=ZoDhgklWc5p1QB3aPX/sDS/+J+IUuIKDvW332lLH5x8mCfWBGtlpBMLMZE5L8lMnb73TB46Igjq/YGYn0Uus9cBkRF5B5OGrlHY+0NWQ2rKHTL42oParbbXnvqVqwRbs/WojTdg2zQ3r/9tvhT6GIj4tXPm7poL/55XCqElbiLs=
References: <20061230040734 dot B16EB1795ED7 at lists dot realsoftware dot com>
From: "Kiam" <kiam at avpnet dot org>
Date: Sat, 30 Dec 2006 05:06:56 +0100

----- 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.

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>


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