Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
#INCLUDE
Message
From
24/05/2001 06:07:08
 
 
To
24/05/2001 05:49:46
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00510761
Message ID:
00510767
Views:
12
Hi!

Kevin, it is not reliable. Just open the menu for class and you will see the Include file menu item - specify include file there.

It is not reliable because it is not predictable where in the source code of the class in VCX file INIT procedure will be declared. If it is declared at start of the source code, it will work. Otherwise, it will not work for procedures declared before the INIT in the source code.

To avoid errors related to the exact path to the class/form include file, edit VCX manually as a DBF table (Include file is in soem of the Reserved fields in VCX). Than specify path to include files in the SET PATH settings.

HTH.

>Morning
>
>If I issue an #INCLUDE filename.h in the Init of a Class, will I be able to use the constants in all Methods in that Class?
>
>Thanks
>Kev
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform