Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Carriage return + line feed
Message
From
01/03/2006 11:38:37
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01098684
Message ID:
01100436
Views:
14
That'll do it. Thanks
>lcCrLf = CHR(13) + CHR(10)
>...
>x = "Line 1" + lcCrLf + "Line 2"
>
>* or
>
>#DEFINE ccCrLf CHR(13) + CHR(10)
>...
>x = "Line 1" + ccCrLf + "Line 2"
>
>
>>What is the proper way to place a carriage return + line feed in a string?
>>
>>x = "Line 1" + CHR(10) + CHR(13) + "Line 2"
>>or
>>x = "Line 1" + CHR(13) + CHR(10) + "Line 2"
>>
>>Or is there a different way?
>>
Previous
Reply
Map
View

Click here to load this message in the networking platform