Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create a global #define constant
Message
 
To
13/11/2004 04:54:17
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows '98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00961115
Message ID:
00961124
Views:
12
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform