Results 1 to 3 of 3

Thread: Last line read problem

  1. #1
    Join Date
    Aug 2008
    Location
    Serdia, Isla Prima
    Posts
    68
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default Last line read problem

    Hiya,

    I've been battleing the past few days with trying to read the last line in a text file. Been throught the forum as well but can't find anything that helps

    Reading the whole text file is easy enough, but I just can't seems to get it right to only read the last line.

    Anyone got some suggestions?

    Regards

  2. #2
    Join Date
    Sep 2007
    Posts
    638
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Copy and paste the line into another text document?

    Is it the bottom line that is viewable on the screen or the very bottom line in the file? It might be your monitor?

    Does it happen for every text file or just one?

  3. #3
    Join Date
    Aug 2008
    Location
    Serdia, Isla Prima
    Posts
    68
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Hi Aser,

    Thanx for your suggestions, but copying the last line to another file everytime will not realy be effective.

    What I need to achieve is to only display the last line of the text file. What happend previously is not needed, only the last line.

    Regards

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 7
    Last Post: 03-28-2008, 02:11 PM
  2. 2 Line of Code (1 Problem)
    By chrisc666 in forum OSR Help
    Replies: 10
    Last Post: 10-21-2007, 05:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •