Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Opening all dbfs in a directory
Message
De
21/10/2013 08:44:39
 
 
À
21/10/2013 08:42:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01585571
Message ID:
01585914
Vues:
73
>PMFJI....I think "most" of the time, PUBLIC/Global variables aren't necessary.
>
>But I'd stop short of saying 100% of the time.
>
>I don't think they were necessary in the example where Mike Y provided a nice clean solution - but instances where you have scalar values that need to be visible across the entire app are served by a global setting (e.g. Company Name, current user signed on, etc.) In most .NET apps I had a global class of properties for such values.
>
>Just my 2 cents

I agree. if you have a global setting global/public variables are fine.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform