Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Writing memo fields to a text file
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00242000
Message ID:
00242358
Vues:
23
>>>>>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!
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform