Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FREAD() etc...
Message
 
 
To
06/08/2007 13:24:54
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01246151
Message ID:
01246191
Views:
25
>Thanks - fgets() seems to be the way to go. How would I get it to read each line in a file to a variable? I mean a text file isn't a table and I won't be able to do a Do While !eof() skip Enddo type situation on each line...

do while !feof(m.lnHandle)

E.g. check FEOF() function in Help. You don't need skip, since fgets moves the pointer in the file.

Check also Message #882226 for an alternative solution.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform