Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Public variables versus cursor
Message
From
30/11/2008 12:13:35
 
 
To
30/11/2008 11:38:20
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01364711
Message ID:
01364721
Views:
14
>Hi.
>I thing that I've read here, at UT, that is better not to use Public Variables
>because they can be easily overwritten. So my question is:
>Should I create a cursor with fields to store everything I need through my
>application?
>Thanks in advance!

Better to design a class with properties for all the global values that you require and create a public instance of that.
Previous
Reply
Map
View

Click here to load this message in the networking platform