Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
App created text file - wierd behaviour
Message
De
24/09/2002 11:43:28
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00703812
Message ID:
00703813
Vues:
14
>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform