>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