>Is there a problem with each line being longer than 255 characters? I believe FGETS() will accept lines longer than this. Have you tried it?
FGETS() will read lines up to 8K (8192) bytes. This is the FGETS() after SP3 for VFP6 is applied. Before that, I'm not sure what the limit was, but I was told that this was one of the C...5 error fixes for SP3.
>
>>I have an app which needs to read several *.txt files. I open each of the files using fopen() and read what I need. Everything works great and quick except for 1 file. This is a very large file (4 MB) and each line is also longer than 255. What I did was create a table with a memo field, append the text field into the memo field then read the memo field line by line using mline(). This however takes a very long time to read. Short of creating a table with all the fields for the text file, is there a way I can open this file and read it much quicker.
>>
>>Thanks in advance,
>>
>>Scott