Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MESSAGEBOX
Message
De
03/05/2000 20:14:27
 
 
À
03/05/2000 11:47:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00365597
Message ID:
00365879
Vues:
11
>Seems to me this is counterproductive. Why not just use the doggone number 16? Otherwise, you have to remember to do the #DEFINE or attach the .H file.

I like Constants: what are you going to get with:

?aErrorArray[1, 3]
?aErrorArray[1, 4]

? How about:

?aErrorArray[1, cnAERROR_LINENO]
?aErrorArray[1, cnAERROR_METHOD]

It may take a while in the beginning to learn them (but not as long as the numbers) for putting them in, but it will always be simpler reading.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform