Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
App created text file - wierd behaviour
Message
From
24/09/2002 11:43:28
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00703812
Message ID:
00703813
Views:
13
>Within my exe, I am creating a ascii batch file to send to other system. I end each line with a CHR(13) and when I open the file in notepad it looks great. But when I start toggling the wordwrap feature, it gets all screwy. When I first turn word wrap on, it looks the same, but when I turn it off, spreads it all out like it removed the carriage returns. I have posted some of the code and examples of the data in notepad below.

Use chr(13) + chr(10) as the end-of-line separator.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform