Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Carriage return
Message
De
10/06/2005 09:41:18
Jim Winter
Jim Winter Consulting
Hinesburg, Vermont, États-Unis
 
 
À
10/06/2005 09:34:01
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01022118
Message ID:
01022122
Vues:
19
>What is the correct way to place a carriage return at the end of each line when creating a text file?
>
>I have been doing this:
>***
>myString = cString1 + CHR(13) + CHR(10) + ;
> cString2 + CHR(13) + CHR(10) + ;
> cString3 + CHR(13) + CHR(10)
>***
>
>Thanks,
>
>Jerry

A little simpler and it should execute faster:
#DEFINE CRLF CHR(13)+CHR(10)
myString - cString1 + CRLF + cString2 + CRLF + cString3
Regards,
Jim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform