Results 1 to 4 of 4

Thread: File Writing

  1. #1

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256

    File Writing

    I've searched, but I can't find anything that displays how to add a new line to a text file without replacing any of the previous lines.

    Does anybody know a good solution to this?
    My evil laugh has a squeak in it.

    kristopherwilson.com

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    VB Code:
    1. Open "c:\myFile.txt" For [b]Append[/b] As #1
    2. ...
    3. ...
    4. Close #1

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  3. #3

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256

    Post

    I feel so stupid sometimes
    My evil laugh has a squeak in it.

    kristopherwilson.com

  4. #4

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Is there documentation somewhere about all the commands like that? Such as Put, Append, Write, Print, etc?

    This would be most helpful in the future.
    My evil laugh has a squeak in it.

    kristopherwilson.com

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