|
-
Feb 4th, 2001, 09:46 AM
#1
Thread Starter
Member
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
-
Feb 4th, 2001, 10:13 AM
#2
if you intend to keep closing the file between writing data, then upen it for APPEND instead of OUTPUT
-
Feb 5th, 2001, 09:04 AM
#3
Addicted Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|