General information
Category:
Object Oriented Programming
>Hi.
> We have two properties ("prop1", "prop2") that references the same object
>in this way:
>
> ***************
> obj.prop1=createObject("myobject")
> obj.prop2=obj.prop1
> ***************
>
> When we are destroying the object "obj", we need to know who has been the
>creator of the object "myobject". Are there any differences between
>"obj.prop1" and "obj.prop2" for solving this question.
>
>Thanks.
>José Luis Santana
José Luis,
It seems to be a matter of genealogy. When the grandfather dies, what was the name of his father?
If tracking is important, maybe you can accumulate the references that you need in a cursor created from init of the first object created.
Enrique
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only