Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best approach about #DEFINE constants
Message
 
À
14/05/2008 09:26:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01316940
Message ID:
01316941
Vues:
14
Hi Tony,
(fix bugs...)
1) create formx.h for all forms
#INCLUDE "form.h" 
#INCLUDE "other.h"
2) create form.h for forms (contain constants only for forms)
#DEFINE __FORM_BASIC 1
3) create other.h (contain others constants)
#DEFINE __OTHER_BASIC 1
4) set for all forms this include file: formx.h


MartinaJ


>Hi.
>I'm using VFP9 SP2.
>I have some constants that I tried to declare
>using #DEFINE. These constants must be used
>throughout my application (forms and procedures).
>The problem with #DEFINE is that the constants are
>only visible within the program that created them.
>How to make some constants, lets say, "PUBLIC"?
>Thanks!
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform