Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with pointing to parent?
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Problem with pointing to parent?
Divers
Thread ID:
00779176
Message ID:
00779176
Vues:
54
I have an object that has as one of its properties a pointer to a line item object. When I add the line item object, I set a property on there that points to the parent because it sometimes needs to get information from its parent.

I haven't had any problems I can pin on this arrangement so far, but when I was looking in the debugger for something else, it occured to me that I've created a circle. The parent points to the child which points to the parent which points to the... I actually drilled down a ways in the debugger.

Is there any problems with this that might come up? As I said, it seems to be working with no errors. I'm just worried there may be hidden problems like using too much memory or sumsuch.

Thanks,

Michelle
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform