Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reading Large Text Files
Message
De
19/07/1999 14:56:07
 
 
À
19/07/1999 08:42:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00243031
Message ID:
00243249
Vues:
26
Scott,

I've used FiletoStr() with great success. You just have to set the Memo line size and you are all set.

PF

>Greetings,
>
>I have an app which needs to read several *.txt files. I open each of the files using fopen() and read what I need. Everything works great and quick except for 1 file. This is a very large file (4 MB) and each line is also longer than 255. What I did was create a table with a memo field, append the text field into the memo field then read the memo field line by line using mline(). This however takes a very long time to read. Short of creating a table with all the fields for the text file, is there a way I can open this file and read it much quicker.
>
>Thanks in advance,
>
>Scott

(On an infant's shirt): Already smarter than Bush
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform