Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Carriage Return and Line Feeds
Message
From
22/01/1999 14:11:36
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00179123
Message ID:
00179143
Views:
27
>I am currently writing a procedure to export information to an ascii file
>delimiting the text with Line feeds so another software program
>can Import the Text. I have followed the Specs and seem to have a
>problem with chr(10) command. I have downloaded a Hex editor to
>review the output and in my editor there are only Line feeds being sent after my data as it should be, However on my contacts side in his hex editor he has carriage returns and Line feed delimiting I have no idea which editor is right and what I should do to fix the problem
>
>I am using Visual Foxpro 3.0 . The example is m.plu + chr(10)

In order to write a line terminated with just a linefeed (CHR(10)) character, you can either use FWRITE() rather than FPUTS(0 to write the line. if you're doing output using ?; use ?? instead and send the line feed character explicitly.

>
>If anyone has any idea what the problem is I would appreciate a reponse
>
>
>Thank You in advance
>
>Joe Hendren
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
Next
Reply
Map
View

Click here to load this message in the networking platform