Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
#DEFINE for CRLF NOT working
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00749562
Message ID:
00749563
Views:
20
>I created a header file called CONSTANTS.H to define the CRLF constant with the CHR(13) + CHR(10) (CARRIAGE RETURN LINE FEED) and placed it in my development environment and also added it to my project in the Text Files area.
>
>I did a #INCLUDE in the MAIN.PRG program to include the CONSTANTS.H file. However, when I try to use the CRLF in a form, I get an error telling me that that variable doesn't exist.
>
>Have I set this up wrong? (Obviously!)

You've to include your header file in every PRG, form and class that refereneces constants from it. For Form/Class go to Form/Class menu, select Include File and add include file there.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform