Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
#DEFINE - Why?
Message
De
31/03/2008 10:23:06
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
31/03/2008 10:19:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01306848
Message ID:
01306942
Vues:
10
>Hi Jay,
>
>IMHO, defines will offer you a much better handling, in case that more than one developer has to handle code in a bigger project. A 'constant' that you specify in your load or init-event can always be changed by someone who isn't so much involved in your kind of coding. A DEFINE will always be unchangeable during runtime so the newbie to your project won't be able to mess with your 'constant', which might lead to some rather unexpected errors.

Ok, that's a good point; it can't be changed unless you actually reDEFINE it.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform