Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Carriage Return and Line Feeds
Message
From
28/01/1999 16:01:11
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00179123
Message ID:
00181533
Views:
17
>I ended up doing is using the same hex editor and looking at the file in that
>seems these 2 editors are producing different results same file. What I am wondering is if fwrite sends more then what I am telling it to. I am using Fwrite with what i want to write then + chr(10) as a line feed to delimit the data.

FWRITE writes exactly what you tell it to; many things will try to be 'helpful' and change linefeeds alone into carriage return/line feed pairs. This may well be what's happening here

No, but there's every danger that an email package or is changing the file on extraction, too - many email pacakages, when they see a file as ASCII, interpret the file and convert it for use in DOS, which means tranlating LF into CR/LF pairs. try sending the file as a binary file attachment rather than as text, and see if that helps.
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