Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Circular reference
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00615370
Message ID:
00615436
Views:
18
Hi Vlad,
FWIW, you don't really need the two commands. Once you execute the object's Release method, any variable that was referencing that object is now set to .NULL..

Regards.

>Hi!
>
>Well, this is quite a complex question. Many programmers solve it by different ways. For example, create garbage collection programs. Or create special classes to track cross-references. Personally, I like the approach on the OOP and design level. Just create a method "Release" for your business object. SOe releasing of it will now require 2 commands:
>
>goBusiness.Release()
>release goBusiness
>

*snip*
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform