One use of a #DEFINEd constant is to conditionally include a portion of code in the app. For example, your could put debug stuff inside #IF...#ENDIF that will be included in the app only if a constant is .T. Same thing for a demo app.
>Is there any reason to use a #DEFINEd constant instead of a local var? I've seen it done, but am not aware if the rationale, particularly when trying to debug...
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement