>>>>>Any idea on how to write a FoxPro memo field to a text file?
>>>>
>>>>in VFP6, STRTOFILE(
mMemoField, cFileName) works; in all versions, COPY MEMO
memo field name TO
file name works.
>>>
>>>The real question is which is faster?
>>
>>Now there you go! A REAL question of which is better. To tell the truth, I've not given it much thought. All the places I've ever had to do this were very small memo fields involved. I would imagine the size of the field could have a large impact on which way is "better". So, which way IS better, under what circumstances?
>
>I haven't had time to test it, but I seem to recall George Goley showing how if you let VFP do the stringstuff for you with a copy to you would/could call on Rushmore. So, it may mean a copy to is faster. Then again they optimized the string manipulations in VFP 6, and according to Calvin some instances are actually faster than C++ which is the underlying code? Go figure that one.
I don't really see how Rushmore would come into play for this. You're already on the correct record when you do a COPY MEMO. And as far as VFP6 string stuff being faster than the C++ string manipulations, who knows how they accomplished that little bit of magic!