Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find and Replace in huge text file
Message
 
To
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:
01053627
Views:
27
>>>>>>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

lol
I have no doubt that it looks like familiar to you. FLL is yours but the article still is writen by Naomi :o) with all thanks to you.
I never handle this huge files so I still use F...() functions, even FILETOSTR() and manipulate returned string with string functions, so I couldn't be expert here in this thread. But it is good to know that there is a FLL that could make your life easier :o) Thanks Cetin.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform