Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Opening all dbfs in a directory
Message
From
21/10/2013 11:22:42
 
 
To
21/10/2013 11:15:58
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01585571
Message ID:
01585951
Views:
63
I advise people to assume/pretend that public variables are a bad idea 100% of the time, so they will find alternatives.

I definitely agree that as a general guideline/practice, they should be avoided. And again, going back to the original example, they were unnecessary.

The only exception I ever made is for variables without any scope - i.e., global to the entire application. They're usually pretty limited (again, example I use is Company Name, Current User signed on, etc.) Most of the time there are a handful - that's about the only time I ever use them.

Additionally, I believe one example (yours) had the basic structured exception handling, as opposed to the other example with ON ERROR.



And good point on @SAY....GET....wow, that was about 1987? Certainly rings a ?? chr(7) :)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform