Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What's the point?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00794178
Message ID:
00794185
Vues:
16
>I'm just exploring some of VFP's foundation classes. I ran across this:
>
>
>In app.h is this:
>#DEFINE ERROR_IN_ERROR_METHOD_LOC    "Error in error handler"
>
>As far as I can find it's only used in one place in _error class.
>
>What's the point of defining something in an include file that only gets used once?
>
>
>Assuming that they put it there so that it's available to me, how would I ever enen know that it's there? If I'm subclassing a foundation class, I'm not going to study every line of code in it to see what's available.
>
>TIA


To not have to study and update a lot of code, you just have to update the H file and recompile.
The *_LOC items can be usefull for foreign language apps.
You just have to translate the H file, recompile and you have a italian or french app :-)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform