Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fwrite
Message
From
30/06/2000 09:31:01
 
 
To
30/06/2000 09:22:02
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Fwrite
Miscellaneous
Thread ID:
00387027
Message ID:
00387030
Views:
13
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform