Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's happening here ?
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Miscellaneous
Thread ID:
00990234
Message ID:
00990834
Views:
28
>
>I knew the syntax I used was 'sus' but I was surprised at the result. BTW, why bother with the 'This.o=Null' - when wouldn't o go out of scope when c1 is destroyed anyway ?

I don't want to leave anything to a chance. I consider a good programming practice to excplicitly release such objects.

>Also I see that although VFP9 (at least in the beta) flags up the error it only does so AFTER creating c2 and is inconsistent in subsequently releasing it.

Error is only generated if object is assigned to a property this way. Any other type of data doesn't generate an error. I'm not sure what inconsistency you're refering to.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform