Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get lines from text file
Message
De
30/08/2006 13:38:39
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
30/08/2006 12:17:39
Reza Meamar
Homa Programming Group
Shiraz, Iran
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows '98
Database:
Visual FoxPro
Divers
Thread ID:
01149836
Message ID:
01149904
Vues:
11
>Hi all,
>I have a text file. I want to read it line by line.
>What is the best way to do this?
>Thanks

Fgets().
Up to 65000 lines best is alines() IMHO.

PS: Memlines() is dependant on memowidth and max is 1024. Fgets() has limit too but much higher (8192).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform