Results 1 to 4 of 4

Thread: saving stuff to a certain line in a file, urgent

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Posts
    6

    Post

    i know how to read from a ceratin line from a file, but how do u save or overwrite a line in a file?

    please help


  2. #2
    Hyperactive Member
    Join Date
    Jun 1999
    Location
    Calgary Alberta
    Posts
    359

    Post

    As far as I know, the only way to do it is to rewrite the entire file, sustituting your line for the old one. I have to do something like that for this app I built. I'm not sure if that's the only way though. If you want an example, email me and I'll try to throw something together for you.

  3. #3
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238

    Post

    If you can read the specified line from a file with the Get Statement, then you should be able to write something back to the specified line with the Put Statement.

    Hope this can resolve your problem.

  4. #4

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Posts
    6

    Post

    ok punks! thanx

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