Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CHR(13) not causing line break in StrToFile() output
Message
 
 
À
10/07/2007 16:57:20
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01239118
Message ID:
01239119
Vues:
31
This message has been marked as the solution to the initial question of the thread.
>The CHR(13) is not breaking the line in my output. Do I also need CHR(10) with it? What is the rule?
>
>
>STRTOFILE(ALLTRIM(STR(iCount)) + ': ' + TRANSFORM(oSeg.elements[iCount]) + CHR(13),"strConvertedData.txt",.T.)
>
Yes, it never would hurt to add chr(10). The output may be seen differently in different editors, but chr(13) + chr(10) will always work unless it's for e-mail body in ShellExecute.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform