Information générale
Catégorie:
Produits tierce partie
>Is there someone who has used the VFP Code Book with
>some measure of success, I am having problems with constants
>declared as #define statements within header files being
>reported as not being found. Also I cannot get the menu builder supplied with Code Book to work.
>any input would be appreciated
>
>Justin Scanlon
#define is a compiler directive. It replaces all occurences of the constant with its value. So, after that, in the compiled text there are no references to the constant's name. If you want to use a header file that contains constants, you must use #include directive in each file (form, program, etc) that is compiled separetly.
Précédent
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