Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Writing memo fields to a text file
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00242000
Message ID:
00242353
Views:
25
>>>>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.
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform