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 17:13:07 +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><D5AA9F6633E74B9DABE968BDD012AD97 at CXEFAKOMPUTORO> <4C9B352A-54DF-4501-A715-03D4B0A1D70D at mac dot com>
----- Original Message -----
From: "Stefan" <seaside dot ki at mac dot com>
To: "REALbasic NUG" <realbasic-nug at lists dot realsoftware dot com>
Sent: Saturday, December 30, 2006 7:06 AM
Subject: Re: How to compute the address of an object?


In my case, this isn't of interest. I just need a one-time ID, to identify visited objects.


In that case you could merely use a function that keeps a static counter, and that increments it every times after it returns its value. It's the simplest way, as you don't need it to be unique to every execution of your program.
--
~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>