Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How does VFP load class methods into memory?
Message
 
 
To
16/11/2009 22:55:37
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01434853
Message ID:
01435128
Views:
38
>>>It goes without saying that (1) only the class definition is kept in memory (2) the object properties are not shared. Properties have to be initialized each time
>>
>>I agree. I thought so too as property values are different (or could be different) for all instances of the class.
>
>But then it's only properties with nondefault values. The rest are looked up in the class definition (or parent class, if at default) when needed.
>
>(Of course, I do not really know this; I think I read it somewhere once upon a time, or more than once,but can't remember where)

Good point. BTW, if the properties are left as default, are they read each time or only once?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform