Results 1 to 14 of 14

Thread: Reading and writing after a specific point in multilined text file

Hybrid View

  1. #1
    Super Moderator dday9's Avatar
    Join Date
    Mar 2011
    Posts
    12,407

    Re: Reading and writing after a specific point in multilined text file

    Basically the way that the function works is it takes a string in this format:
    Keyword Description
    word Some word
    space Represents a blank space
    number The value you're trying to get
    semi-colon Represents the end of the line

    -or-
    Code:
    word number;
    If your text file deviates from that format, then the way that the function is structured needs to reflect that deviation. Now I took a look at your text file and it is not setup in that format that you gave at all. In fact it looks like source code, which I'm not comfortable helping out anymore if you're trying to get values from a source code because if you created that source then you should know the values needed.
    "Code is like humor. When you have to explain it, it is bad." - Cory House
    VbLessons | HtmlLessons | CssLessons | Code Tags | Sword of Fury - Jameram

  2. #2

    Thread Starter
    Junior Member
    Join Date
    May 2012
    Posts
    24

    Re: Reading and writing after a specific point in multilined text file

    Nah it's not a source code, it's the file where all preferences of a game is stored. It is generated automatically by the game under My Documents folder.

Tags for this Thread

Posting Permissions

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



Click Here to Expand Forum to Full Width