Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
#INCLUDE question?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
#INCLUDE question?
Miscellaneous
Thread ID:
00577959
Message ID:
00577959
Views:
61
I set the DEFAULT INCLUDE FILE to myInclude.Ch in Tools->Options->File Locations. In this file I have

#DEFINE GTest 1


but when I test in a form

#IFDEF GTest
WAIT WINDOW "GTest defined"
#ENDIF

the wait window not appears. In VFP _include = "MyInclude.CH", but when I create an EXE file _include is "".

How can I set a Header file for all my application? I don't want to put #include in all forms, programs & classes?

TIA

Boris
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Next
Reply
Map
View

Click here to load this message in the networking platform