Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
#INCLUDE problems....
Message
From
01/11/1999 16:44:05
Paul Wyett
Resource Link Software
Calgary, Alberta, Canada
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
#INCLUDE problems....
Miscellaneous
Thread ID:
00285084
Message ID:
00285084
Views:
67
I am trying to include a header file using #INCLUDE. The program compiles without errors and the file is in the default directory, but nothing in that file is read, all declared variables are coming up undefined. What am I doing wrong?

file example:
* Application Constant Header file efgconst.h

#DEFINE GUESTLEVEL 1
#DEFINE USERLEVEL 2
#DEFINE ADMINLEVEL 3

* end of header file


*code
Set path to c:\vfp
#INCLUDE efgconst.h

Guestlevel, userlevel, and adminlevel variables are undefined.


Thanks,

Paul Wyett
Next
Reply
Map
View

Click here to load this message in the networking platform