Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with pointing to parent?
Message
From
18/04/2003 10:51:13
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Problem with pointing to parent?
Miscellaneous
Thread ID:
00779176
Message ID:
00779176
Views:
56
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
Next
Reply
Map
View

Click here to load this message in the networking platform