Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filling a text variable with lines ending with cr/lf.
Message
From
04/04/2000 02:24:47
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00354764
Message ID:
00354843
Views:
17
>Here is a quick look at what I am doing. Is this the best way to accomplish what I am trying to do?

For the most part. I know alot of people have a constant CRLF defined as chr(13) + chr(10) globally for the app, plus, you may have just forgotten, but you need semicolons after each line:
#define CRLF chr(13) + chr(10)

textvar = "Line one" + CRLF + ;
              "Line two" + CRLF + ;
              "Line three" + CRLF
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform