Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fwrite
Message
De
30/06/2000 09:31:01
 
 
À
30/06/2000 09:22:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Fwrite
Divers
Thread ID:
00387027
Message ID:
00387030
Vues:
15
>I am writing a program that using the fwrite command to store data into txt file but fwrite doesn't has the carried return to end the text. I know I can use fput but the thing in clipper doesn' has the fput command. Is that any other way to use the fwrite with the carried return?
>

Add an explicit carriage return/line feed pair (CHR(13) + CHR(10)) to the end of the expression being written.

=FWRITE(nFH,"This is a sentence with a CR/LF at the end" + CHR(13) + CHR(10))
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform