General information
Category:
Coding, syntax & commands
Use FSEEK() to get to the end of the file then read bytes backwards from the bottom of the file until you get to just before carriage return then do two FGETS(), the second one will be the last line.
>Hi,
>
>Does anyone know the easiest way to go to the bottom of a text file and read just the last line, no matter how many characters long it is? I am using VFP6. Thank you
>
>Tim
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only