Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving to next line of an ascii file opened with FOPEN()
Message
 
To
20/04/2001 09:04:25
Sammy Derban
Ghana Telecom
Accra, Ghana
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00497814
Message ID:
00497823
Views:
9
>Hello all,
>Can someone help me with how to move to the next line of an ascii file opened with FOPEN().
>i have this code to store the entire row/line
>gcString = FGETS(gnFileHandle, gnEnd) && Store content
>but i am unable to read the next.
>
>I an actually trying to create a table from a text file using data at certain positions of the text file.
>Any help?

Sammy,

What value are you using for gnEnd? If there are no carriage return characters in the file, then FGETS() will read the number of bytes specified by gnEnd or the entire file - whichever comes first.

Laterness,
Jon
Jon Rosenbaum
Devcon Drummer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform