On Dec 29, 2006, at 10:06 PM, Stefan wrote:

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

Give the class an "ID" property and a shared "last ID allocated" property. In the object's constructor, increment "last ID allocated" and assign it to the instance's ID.

Mars Saxman
REAL Software


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

Reply via email to