Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error : Illegal redefinition of variable
Message
From
02/08/2013 15:10:07
 
 
To
02/08/2013 14:43:14
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01579124
Message ID:
01579777
Views:
56
>I'm still waiting for a single irrefutable example where public is the decidedly best approach.


Recursion (with many unchanging parameters).
Singletons.
Items instantiated in Timer code that need lifetimes beyond the event.

These could be added to public objects, like _vfp or _screen, but at that level they have the same functionality as PUBLIC variables, and are therefore PUBLIC variables.
Previous
Reply
Map
View

Click here to load this message in the networking platform