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 11:47:31
Sammy Derban
Ghana Telecom
Accra, Ghana
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00497814
Message ID:
00497959
Views:
10
>Thanks Jon,
>You're right , there are no carriage return in the file.
>so what alternatives to i do now?

Sammy,

I'm assuming you know how many characters in the ascii file makes up a record. If that's the case then you can just use FREAD() and specify the record size as the number of bytes. FREAD() works the same as FGETS(), except that it is not looking for a carriage return.

Laterness,
Jon
Jon Rosenbaum
Devcon Drummer
Previous
Reply
Map
View

Click here to load this message in the networking platform