Search found 13 matches

by plad6111
Mon Jul 24, 2006 3:46 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Need help with circle drawing
Replies: 6
Views: 7898

But it doesn't work for me
by plad6111
Mon Jul 24, 2006 1:57 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Need help with circle drawing
Replies: 6
Views: 7898

Need help with circle drawing

How do you draw a circle?
by plad6111
Tue Jul 18, 2006 7:30 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Need help with openin a file on the interwebs
Replies: 19
Views: 18556

Thanks, that is my problem. I closed the file because the program says I have to. Here is an example, see what you can do with it: 'main loop: IF a = 2 THEN INPUT "Input your text: ", text$ OPEN "talk.txt" FOR APPEND AS #1 WRITE #1, text$ CLOSE #1 CLS DO UNTIL text$ = "q": mcy: IF v = 1 THEN OPEN "C...
by plad6111
Mon Jul 17, 2006 3:34 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Need help with openin a file on the interwebs
Replies: 19
Views: 18556

Okay, what I wan't to happen is: 1. I wan't to write several lines of text into an input statment 2. I wan't to open those lines of text from the file later in the program. My problem: when I say open for append, the files get writen at the end of the file, just like i wan't them to, but then, when ...
by plad6111
Fri Jul 14, 2006 9:34 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Need help with openin a file on the interwebs
Replies: 19
Views: 18556

Hello?
by plad6111
Thu Jul 13, 2006 6:59 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Need help with openin a file on the interwebs
Replies: 19
Views: 18556

Thanks, but I already knew all of that. What I wan't to know is, after you say open for input, I say input as #1, so that only takes the first file, and since it is in a do/loop I can't make it say anything else. Please help.
by plad6111
Thu Jul 13, 2006 9:21 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Need help with openin a file on the interwebs
Replies: 19
Views: 18556

thanks, I figured it out. Another thing I was wondering was how do I make an open for append statment and then make an input statment that will take everything from the file that I said to append?
by plad6111
Wed Jul 12, 2006 8:16 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Need help with openin a file on the interwebs
Replies: 19
Views: 18556

but when i try it in qb it doesn't work, I don't know why!
by plad6111
Wed Jul 12, 2006 7:03 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Need help with openin a file on the interwebs
Replies: 19
Views: 18556

No, I mean, if I have a file that I wan't to open, and it is in a place where the program isn't, how do I make the program look in the file that the .txt document is in. For example: if the program is sitting on my desktop, and the .txt file that I wan't to open is in a file in my documents. How do ...
by plad6111
Wed Jul 12, 2006 7:01 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Need help with openin a file on the interwebs
Replies: 19
Views: 18556

Oh yeah, and how do you make it so that if I have a file that sais: do: open "bla.txt" for append as #1 write #1, text$ close #1 open "bla.txt" for input as #1 input $1, text2$ close #1 print text2$ loop The only thing that appears on the screen is the first entry in the bla.txt, but since I said to...
by plad6111
Wed Jul 12, 2006 6:49 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Need help with openin a file on the interwebs
Replies: 19
Views: 18556

there isn't on my version of qb, but I have a very old version, so they may have updated it. What I was wondering is how do you change the file path on an open statment?
by plad6111
Wed Jul 12, 2006 6:02 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Need help with openin a file on the interwebs
Replies: 19
Views: 18556

Well, in the help topic, it says you can, just not how to.
by plad6111
Wed Jul 12, 2006 3:32 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Need help with openin a file on the interwebs
Replies: 19
Views: 18556

Need help with openin a file on the interwebs

I realy need help! How do you change the path on a file open? I am writing a very basic IM program, but I need the program to look in a folder on a website, but I can't change the path. This is what I tried, but it didn't work: open "C:\docume~!\bob\desktop\file\bla.txt" for append as #1 write #1, t...