Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
About CDOW()
Message
De
01/11/2002 13:06:10
 
 
À
01/11/2002 12:48:27
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00717593
Message ID:
00717927
Vues:
14
I know what you are saying. The point I am making is that the defines would be used throughout your code, could be 20 different locations, by renaming the turkish.h to phrases.h and recompiling you would have Turkish days and months. By renaming german.h to phrases.h, you would have German days and months. Your hard coding would require you to search ALL of your code for the 20 different locations where you were using Turkish and rename it to the German equivalent and recompile. In a worse case scenario, you would need to have two copies of your source code to maintain. In my case, I would only need to rename a file and recompile the application. Of course if your audience is only Turkish, your solution works fine.
Gordon de Rouyan
DC&G Consulting
Edmonton, Alberta
Email: derouyag@shaw.ca
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform