Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Chr(13) conversion
Message
From
20/07/2004 16:07:22
 
 
To
20/07/2004 16:02:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00926064
Message ID:
00926291
Views:
14
Fair enough, and good to know.

thanks


>Actually, it depends on the platform that produced the file. Typically, text files from DOS/Windows terminate lines with CRLF. UNIX/LINUX text files terminate lines with LF. I haven't looked at Mac text files for several years but they used to termintae lines with a CR.
>
>>>I can't find any chr(10) charaters in my text. I also can't find any chr(10) characters when I sent my string back to a file and edit it with hexedit.
>>>
>>>When I run the command in my command window (not in my program), the charachters are replaced. Run-time it doesn't work.
>>>
>>>Why?
>>
>>Is your test data roughly the same as what's failing in runtime?... I'm thnking specifically here of the length of the entire string being examined.
>>Also, it is most 'standard', per my own observations, that a "CR" is typically a "LF+CR", commonly CHR(13)+CHR(10).
>>
>>good luck
>>
>>
>>>
>>>Sander
Previous
Reply
Map
View

Click here to load this message in the networking platform