Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Feedback Please: .VCX vs .PRG
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00060795
Message ID:
00061135
Views:
37
>Sorry, George, but I can't accept this as a good reason to define all classes in PRGs and give up using the class designer. I don't think it worths it.
>
>Vlad
>
>>One reason is that the memory required for PRGs is significantly less than VCXs. This is something that I had heard, but never tested until now. I created a simple class with one custom property and one custom method. Using SYS(1016), I measured how much memory was used by these objects. The PRG used approximately 11K less than the VCX. I test this twice, re-starting VFP each time with the same results.
>>
>>In general, I use both, depending strictly on what the class is designed to do and work with.
>>
>>George

It's strictly a matter of style and design, Vlad. Neither one is inherently better than the other. They both have their strong points and weak ones, as well.

George
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform