Search found 44 matches

by Theophage
Fri Oct 19, 2007 9:47 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Simple QBASIC Question
Replies: 6
Views: 6053

Another method would be to use the SELECT CASE command like so:

Code: Select all

' Then process the valid choice
SELECT CASE G$
  CASE = "1": PRINT "1, Selected."
  CASE = "2": PRINT "2, Selected."
  CASE = "3": PRINT "3, Selected."
  CASE = "4": PRINT "4, Selected."
END SELECT
by Theophage
Sat Oct 13, 2007 9:35 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Sprite flicker problem
Replies: 8
Views: 8019

Since Mac rebuked me in the other thread for not giving proper acknowledgement, I thought I would make it known that I hadn't gotten as far as implementing his change to my program since I completely changed how my program was going to work. I started the other thread because I hadn't even gotten th...
by Theophage
Sat Oct 13, 2007 9:29 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Passing arrays to subs
Replies: 4
Views: 5114

To be honest, Mac, I hadn't touched that program since I already got help on it (and responded), so I hadn't even implemented the change you suggested on it afterward. Going over my plans for the game I'm (hoping to) write, I decided I would like to try it in the text mode. But I understand how it i...
by Theophage
Sat Oct 13, 2007 9:26 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Passing arrays to subs
Replies: 4
Views: 5114

Dammit, I should really play around a bit more before posting; I found my problem. It seems that QB wanted to make my variables SINGLE by putting the "!" by their names in the DECLARE, but that wasn't in my SUB. In fact, in the program I defined the array to be an INTEGER. So what I did was put "AS ...
by Theophage
Sat Oct 13, 2007 9:11 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Passing arrays to subs
Replies: 4
Views: 5114

Passing arrays to subs

Okay, I tried searching google for "passing arrays subs quickbasic" and I couldn't find what I needed. Even the qb45 help couldn't help me. I'm writing a game which I've recently decided to to all in text graphics (chr$(219)s and chr$(177)s) so I've had to write my own text GET and PUT routines. Her...
by Theophage
Sat Oct 06, 2007 9:07 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Sprite flicker problem
Replies: 8
Views: 8019

Thanks Nixon. It's better, but there's still some flicker going on, especially when I hold down a key to move continuously. Is there nothing I can do about that?
by Theophage
Sat Oct 06, 2007 4:45 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Sprite flicker problem
Replies: 8
Views: 8019

Sprite flicker problem

Okay folks, I'm going to be working on a game with sprites in screen 13. I wrote a short program to practice the techniques on, but I get flicker. I've read that to get rid of flicker you use the WAIT &h3da, 8 line, but it didn't help me. In fact, when I used the above line once before the sprite PU...
by Theophage
Wed Sep 19, 2007 9:40 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Crosshairs Question
Replies: 5
Views: 5258

EDITED TO ADD: Something keeps screwing my code up, I'll try again... It seems to be something with the greater-than/ less-than signs, I'll use equals instead. Here is how I would do what you are doing: SCREEN 13 CLS newx = 160 newy = 100 DO x = newx y = newy LINE (0, y)-(320, y), 2 LINE (x, 0)-(x, ...
by Theophage
Fri Jun 16, 2006 12:15 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: QuickBASIC 4.5?
Replies: 7
Views: 11662

From what I understand it's sort of quasi-legal. No, it is not in the public domain, but Microsoft no longer supports it nor sells it. It's sort of like "abandon-ware". I sincerely doubt that Microsoft is not aware of its use, so even though they could bust people for hosting it for download, they s...
by Theophage
Thu Jun 15, 2006 5:52 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: View Ports (no, not that question down at the bottom)
Replies: 11
Views: 10651

BUGGER! Ok, I figured out the problem with the path files, I should have realized that a QB based program would not like paths with folders like "Documents and Settings" in them, so I changed that part to "docume~1" and the program started up fine. Until I tried to read the text. I have one of those...
by Theophage
Thu Jun 15, 2006 5:22 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: View Ports (no, not that question down at the bottom)
Replies: 11
Views: 10651

Only one, that's what I thought. It still sounds pretty much like a one-trick pony. I'm going to check out your gui, though, and see how it looks. EDITED TO ADD: Well I tried to check it out, I created the cpath.ini file just like it said to do, and I still get an error when trying to run it (Path n...
by Theophage
Wed Jun 14, 2006 2:50 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: View Ports (no, not that question down at the bottom)
Replies: 11
Views: 10651

See now that makes sense, though I didn't know you could set more than one at once. Would you happen to have some example code I could look at?
by Theophage
Tue Jun 13, 2006 10:46 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: View Ports (no, not that question down at the bottom)
Replies: 11
Views: 10651

But isn't it good for only one window, or am I reading it wrong? Can you give me a little more of a detailed example? (I'm still just not picturing it)
by Theophage
Mon Jun 12, 2006 9:52 pm
Forum: General Discussion
Topic: Programmers Day
Replies: 12
Views: 12904

...except that you couldn't have it every year that way. I still dig the "OCT 30 / DEC 24" thing :D For those who didn't get it, and you know who you are, Oct 30 looks like October 30th, but could also mean the number 30 in Octal or base 8. Dec 24 looks like December 24th, but could also be 24 in De...
by Theophage
Mon Jun 12, 2006 9:48 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: View Ports (no, not that question down at the bottom)
Replies: 11
Views: 10651

And that is exactly what I mean. If I'm making a program with QB, and I want a message area here, a creature graphic area there, a map graphic area there, and a comman area there, I'm going to do all those things separately myself. In fact, (if I understand correctly) I would have to do those things...
by Theophage
Mon Jun 12, 2006 2:44 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: View Ports (no, not that question down at the bottom)
Replies: 11
Views: 10651

View Ports (no, not that question down at the bottom)

Okay, my question is what is the point of using the Viewport commands in QBASIC like "VIEW" and "WINDOW"? Why would I want to use those? Is there a good example?
by Theophage
Fri Jun 02, 2006 9:26 pm
Forum: News and Announcements
Topic: A new project I've been busy with.
Replies: 5
Views: 8653

Dude! I would so totally use that over the FBIDE I'm using now!
by Theophage
Wed May 31, 2006 3:29 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: How to make a ball bounce in a parabola?
Replies: 6
Views: 7385

Does anyone else think "MMMmmmmm McDonalds," when they see the screen shot above?
by Theophage
Wed May 31, 2006 3:27 pm
Forum: General Discussion
Topic: FreeBuggles
Replies: 5
Views: 5642

Delete this? Are you kidding? It's brilliant!
by Theophage
Sat May 27, 2006 6:11 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: How to make a ball bounce in a parabola?
Replies: 6
Views: 7385

Sorry I never got back to you, Jason :oops: