Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Importing a tab delimited text file
Message
De
30/12/2003 17:16:45
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00862449
Message ID:
00862995
Vues:
26
>>I also think that if you are using a file that is bigger than 1 Meg you probably shouldn't convert it to a string if FoxPro lets you or not, but that's just my personal opinion.
>
>I actually disagree. If you need a string, go ahead and make a by-God string. ;-)
>
>Fox has always been amazing about handling strings. I remember in FPW I wrote a GenscrnX SPR-driver that basically passed an entire generated SPR through StrTran(). During testing, I ran some fairly large strings thru StrTran() before releasing this beastie to the client. It was amazingly useful and QUITE fast.
>
>(I actually wrote that driver because Ken Levy told me it would be difficult and slow. It was neither. <g>)
>
>Don't shy away from big strings in memvars. Sometimes it's just what you need! ;-)

You must have had some big SPR files!!! I looked at our SPR for the old FPW 2.6 app and the biggest one was 250K - or maybe we had small ones. I've only ran into one case where I need to hold more than 1 meg of information in a string. I do agree that Fox is pretty fast at strings but I think there is a point where Fox slows down. The 1 meg limit is just my superstition plus FPW 2.6 string limit was around 2 meg.
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform