Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Gotcha of the day
Message
De
26/11/1999 10:45:39
 
 
À
25/11/1999 16:56:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00295644
Message ID:
00295726
Vues:
18
>Specify an include file for the form that has READONLY defined
>as a compile-time constant. eg #DEFINE READONLY -1

You can hose yourself in plenty of different ways by being careless about the names that you give Compile time constants. Any time you create a constant with the same name as a VFP keyword, oyu run the risk of your constant value being used instead of the keyword when your code is compiled.

Lesson? DON'T USE VFP KEYWORDS as CONSTANTS. (or variables for that matter).
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform