Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Include file
Message
From
03/10/2007 13:33:22
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01258255
Message ID:
01258276
Views:
13
>>>>I have a form that has an INCLUDE file. I added it through the Form menu. It does not seem to be working as the DEFINE values are not available in the INIT of my form during runtime.
>>>
>>>They wouldn't be available during runtime, #DEFINES are a compile time thing. Are you saying they're not being resolved correctly?
>>
>>I guess so. The variables defined in the include file are not available during runtime. If that didn't make sense, then there's probably no hope for me. <g>
>
>I guess it's all dependent on what you were trying to do. I'm guessing it was your #INCLUDE syntax that was the problem.

I'm adding a file through the form menu. There is no syntax. I just pick the file. The DEFINEs work if they are used in the same PRG as the class definitions/calls that use them, but once I went to the form, it all went to hell.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform