Results 1 to 3 of 3

Thread: Creating files for QB in QB. Help!

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2001
    Posts
    55
    In qbasic I want to write a file like this:

    OPEN "C:\Whatever.bas" for OUTPUT AS #1
    PRINT #1, stuff
    CLOSE #1


    But I want to add stuff to the file as I go along. How do I do this?

    - Sk

  2. #2
    Guest
    if you intend to keep closing the file between writing data, then upen it for APPEND instead of OUTPUT

  3. #3
    Addicted Member
    Join Date
    Feb 2001
    Location
    Upstate NY
    Posts
    210

    You can try this too.

    You could do that ^ , or what i do is you can not close it until the program is over with, that way it isn't being opened and closed over and over
    < o >

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