Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Foxpro Life
Message
De
12/04/2017 13:04:29
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrats & ententes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Novell 6.x
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01649781
Message ID:
01650098
Vues:
54
> Thus, I only have to remember two things in order to avoid ambiguities: don't use PUBLIC vars (or use them sparsely), and always mdot.

My general rule is, if there is a need for a global memory slot, put it into one of up to about 2 handful global objects I sometimes hang onto the app, _screen or plain memory. Exceptions of this rule (most of the time speed relevant counters/timers, where I like to minimize Heisenberg effects) are prefixed with Hungarian notation and get painfully long variable names, so you always ctrl-c the name when coding and give yourself a mental prod ;-)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform