Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find and Replace in huge text file
Message
From
27/09/2005 15:40:08
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01053411
Message ID:
01053620
Views:
28
>>>>>Thre's no problem if we read to CR but what if there're more than 8192 characters between CRs?
>>>>
>>>>there is no more than 8192 characters / line, is LEN() function could help to determine the length returned from FGETS()?
>>>
>>>Sure.
>>
>>I found that the length of record is variant, you are right it could be > 8192 bytes, It seems that no way to handle this in foxpro right.
>>I tried STRTRAN() through copying file to memo field but got "String is too big to fit" error message.
>>
>>Should I look to another tool or what ?
>
>Message #1053552

Looks very familiar to me:) Actually that's what I meant when saying I'd write a FLL and I have one. However for one time job, I still see fread() approach sufficient and easier for any VFP coder.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform