Results 1 to 2 of 2

Thread: position file pointer

  1. #1

    Thread Starter
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,092
    How do I write to a specific part of a file, like if I just wanted to replace one line w/o inputting and outputting the entire file?
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  2. #2
    Guest
    You'd have to open it as Binary. And use the Seek function to go to a certain byte position in the file. And use the Put statement to put your text where you want.

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