Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memory used by Objects
Message
From
24/09/1999 11:50:40
 
 
To
24/09/1999 11:12:12
Sony Joseph
Dovenmuehle Mortgage Inc
Schaumburg, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00268505
Message ID:
00268544
Views:
21
>So do you mean to say that it is better to have an object with 100 properties instantiated rather than having 100 public/global variables in the main program?
>
>Thanks for the previous tip

You need to think about speed vs. memory use. Access properties of an object is slower than access a variable. However, I agree with Sylvain. Don't use PUBLICs and limit the use of PRIVATE.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform