Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Include files and constants?
Message
 
À
24/07/1997 10:54:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00041459
Message ID:
00041478
Vues:
30
>>>>I have an include file with some constants. In particular, MSG_ERROR is defined in this include file. I have a form class. In the form class I include that include file. I create a form based on the formclass. Some of the code in the form is "WAIT WINDOW MSG_ERROR". When this code is encountered I get, "Variable 'MSG_ERROR' is not found." I figured I forgot to compile everything. So, I did that. Same error. Perhaps the include file needs to be in the form also? I did that and recompiled everything. Same error. This is rather odd and I'm stymied on what to do next.
>>>
>>>try using the the Include File option under FORM in the FROM desinger
>>>for each form that you want to use your include file.
>>
>>Umm...as my message says, I did.
>>
>>"Perhaps the include file needs to be in the form also? I did that and recompiled everything. Same error."
>
>Sorry, I did not read everthing...try changing your message.
>Maybe the text of your message brothers vfp.

Hmm..Don't think so, because I used the same message I used in my main.prg in which it worked fine.

Michael G. Emmons
memmons@nc.rr.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform