Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Primer on header files.
Message
De
11/01/1999 15:54:46
 
 
À
11/01/1999 15:38:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00174787
Message ID:
00174823
Vues:
29
>>>Can someone tell me how can I use .h files to define constants.
>>>
>>>I made the following h file:
>>>
>>>*invoice.h
>>>#DEFINE DOCUMENT_FEE 90
>>>#DEFINE SEAL_FEE 3
>>>#DEFINE VALIDATION_FEE 20
>>>
>>>And I try to include it using:
>>>
>>>#INCLUDE [..\invoice.h]
>>>
>>>in the load event.
>>>
>>>But when I call for the constant it isn't there.
>>>
>>>
>>>What am I doing wrong?
>>
>>If you are trying to use the .H file in a form, you need to specify it in the Form-Include File menu option. Then all of the form's methods will 'see' it.
>
>Is it still necesary to use the #INCLUDE clause

No. Just specify the include file name in the dialog box.
Thanks,
Dan Jurden
djurden@outlook.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform