Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CR and LF
Message
 
To
23/02/2001 10:13:30
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00478835
Message ID:
00478838
Views:
24
>How can I place a Carriage Return and Line Feed at the end of a line in a text file?
>
>We are creating a text file for a customer so they can load the data in the text file into their main frame.
>
>We write some of the data to the text file by stringing it together as follows:
>
> =STRTOFILE(value1 + value2 + CHR(10), "myfile.txt", .t. )
>
>Our customer says that there isn't a CR + LF at the end of any line.
>
>What is the right way to place a CR + LF at the end of each line in a text file?
>
>Thanks,
>
>Jerryt

That needs to be: CHR(13) + CHR(10)
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform