Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get lines from text file
Message
From
30/08/2006 13:38:39
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
30/08/2006 12:17:39
Reza Meamar
Homa Programming Group
Shiraz, Iran
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows '98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01149836
Message ID:
01149904
Views:
12
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform