Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add a carriage return with Strtofile()
Message
 
 
À
09/06/2002 16:03:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00666395
Message ID:
00666396
Vues:
16
>I m using in the function Strtofile() and I want to add a carriage return always when writhing to the file, how do I do it ?

You can store new line characters into variable or use compile time constant.
lcCRLF = CHR(13) + CHR(10) && New line = Carrige Return + Line Feed
lcStr = "...."
Strtofile(lcStr + lcCRLF, lcFileName)

* or

#DEFINE ccCRLF CHR(13) + CHR(10) && New line = Carrige Return + Line Feed
lcStr = "...."
Strtofile(lcStr + ccCRLF, lcFileName)
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform