Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Including a .h file
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00521249
Message ID:
00521469
Views:
20
>But when I use the debugger to chechk out the program it skip the first line (#include mensajes.h) and I can not understand why...?
>TIA
>Note: Is there any article about the use of file .h?

The VFP help isn't that great on this. As normal, The Hackers Guide to VFP has a much better explaination. If you don't have it, go get it from www.Hentzenwerke.com. If your time is worth more than .10/hour, you should be able to save the cost of the book in a week or so.

The include file's defined constants are processed at compile time in a search-and-replace fashion in your code. The compiled code has no reference to these constants. I never noticed this about the debugger before, but I assume it skips the #include line because that line doesn't actually exist in the compiled code.

HTH
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform