Nadya,
The APPEND into a C(1) cursor is likely to be the absolute fastest. It will work on files even in the GB range as long as there are not more than one gig lines.
The APPEND will work faster because it's one command down to the native C++ code. The fgets() loop solution will keep making interpretive VFP code execution for each line.
>>>Yeah, right. Ok, give us few other ways, please... :)
>>
>>There are several in this thread.
>
>I mean, for the BIG BIG files... I bet low-level functions is the best choice. Copy to cursor and then memlines could probably work too, but I think, low-level would be much faster...