Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to create a global #define constant
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows '98
Database:
Visual FoxPro
Divers
Thread ID:
00961115
Message ID:
00961124
Vues:
11
Hi Luigi,

I'm sorry for my wrong reply.

1) You must create one public header file
2) into all your other header files add new row:
#INCLUDE "public.h"


MartinJ

>Hi Martin
>
>I have already tried but it does not work
>
>my alfa.h is
>
>#DEFINE compila .T.
>
>
>
>In main program I have insert
>
>
>_include= 'c:\alfa.h'
>
>
>in a form button.click
>
>
>#IFDEF compila
>   WAIT WINDOW "MYDEFINE exists"
>#ELSE
>   WAIT WINDOW "MYDEFINE does not exist"
>#ENDIF
>
>
>But the method return "MYDEFINE does not exist"
>
>where it it wrong?
>
>Luigi
"Navision is evil that needs to be erazed... to the ground"

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

Click here to load this message in the networking platform