Search found 151 matches

by Mac
Fri Sep 28, 2007 9:24 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Linux QBasic
Replies: 6
Views: 14467

QBasic on Linux

You might try this forum:
http://www.network54.com/Forum/554399/
by Mac
Thu Sep 27, 2007 2:39 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Problem with compiling
Replies: 8
Views: 11701

[quote="Codemss"]It isn't working when I use this: IF segment = seg1 THEN if segment <> 31999 then PUT (0, 0), b1(0), PSET ELSE if segment <> 31999 then PUT (0, 0), b2(0), PSET END IF [/quote] I did not put the test into the second "if segment". When I did, I got goofy results. Mac
by Mac
Wed Sep 26, 2007 8:36 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Problem with compiling
Replies: 8
Views: 11701

Re: Linker

[quote="Bulldog"]The error is happening here
IF segment = seg1 THEN PUT (0, 0), b1(0), PSET ELSE PUT (0, 0), b2(0), PSET[/quote]

Heh! Missed my post above by 15 minutes! It explains how to get around the error, but not why the bad value occurs.

Mac
by Mac
Wed Sep 26, 2007 7:45 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Problem with compiling
Replies: 8
Views: 11701

Re: Problem with compiling

[quote="Mac"]I was unable to determine why the function call was illegal. [/quote] Well, I figured out this would help, so the error trap is not necessary: [code] IF segment = seg1 THEN if segment<>31999 then PUT (0, 0), b1(0), PSET ELSE [/code] Don't ask me what's wrong with 31,999. I ran...
by Mac
Wed Sep 26, 2007 4:00 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Problem with compiling
Replies: 8
Views: 11701

Re: Problem with compiling

[quote="Codemss"]I can't compile this program.[/quote] You mean "I can compile the program, but it eventually bombs out when running"? At least that's what happens to me. No problem compiling. Runs for a while. Then gets "Illegal Function Call". I really, really hate to...
by Mac
Wed Sep 26, 2007 11:50 am
Forum: QBASIC and QB64 Questions & Answers
Topic: ai help please
Replies: 5
Views: 9913

HTML problem

Dang! It's the old "I forgot to turn off HTML problem" I noticed everybody else has the same problem in this thread. When you post code, you must remember to turn HTML off or else the less-than-sign is interpreted as an attempt to give an HTML command to the browser. Many slip through as i...
by Mac
Tue Sep 25, 2007 8:15 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: ai help please
Replies: 5
Views: 9913

Re: ai help please

for some reason i cannot get my ai to move can someone help please Here. (I slowed down the enemy so it didn't win immediately) Mac SCREEN 13 x = 50 y = 50 aix = 12 aiy = 15 DO typed$ = INKEY$ IF typed$ = CHR$(27) THEN SYSTEM WAIT &H3DA, 8 LINE (x - 8, y - 8)-(x + 8, y + 8), 0, BF CIRCLE (x, y)...
by Mac
Tue Sep 25, 2007 2:44 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Help with searching for words (for a data base)
Replies: 20
Views: 52665

..what should i do? What you should do is work on something easier. Your code had so many problems I couldn't explain them one at a time. If you insist on working on something that is over your head, you can use the code I put below for a starter. Mac CLS ' menu menu: CLS DO COLOR 10, 0 LOCATE 5, 2...
by Mac
Wed Sep 19, 2007 6:01 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Source for QBasic or QuickBasic
Replies: 27
Views: 47497

But why is FB faster than QB? Faster compared to what need? I have written a zillion QBasic programs. None have made me want a faster computer or a faster interpreter. Take the program Monopoly at http://www.network54.com/Forum/190883/message/1156376791 Even the years old original version which I d...
by Mac
Wed Sep 19, 2007 4:25 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: If you hate QB GUIs look away.
Replies: 8
Views: 18171

Got it

Hi, Mac: Fun500 was certainly made in QB4.5, so it will not work in QBasic. Thanks, Antoni. FYI, whenever I say QBasic, I include QuickBasic. I consider them the same thing, although I know all the long history. I will run programs in QB4.5 if necessary, although I prefer QB1.0. So if the program i...
by Mac
Wed Sep 19, 2007 1:20 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Crosshairs Question
Replies: 5
Views: 10639

Something keeps screwing my code up, Yeah, I just tried to post if a < b then if b > a then test As a result, I got if a a then test And everything except "if a" was in bold. Since I had HTML enabled (I wish the default was "no") the system took "< b" to mean "mak...
by Mac
Tue Sep 18, 2007 9:55 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Crosshairs Question
Replies: 5
Views: 10639

Re: Crosshairs Question

it is jumpy Right. Try this DO IF INKEY$ = "s" THEN Change it to DO K$ = INKEY$ IF K$ = "s" THEN And substitute K$ for all the INKEY$ tests below. The reason: Say you press an "a" and your loop happens to be on the first instruction. The command IF INKEY$ = "s&quo...
by Mac
Tue Sep 18, 2007 9:35 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: If you hate QB GUIs look away.
Replies: 8
Views: 18171

Couldn't find it

A QB GUI is a GUI made in QB. A GUI is a Graphical User Interface. Fun500 GUI 3.0 is my GUI(actually made in FB) and can be found at http://fun500.brandoncornell.com Well, I went to that site, but couldn't see exactly what to download to get a "GUI". I'm still not sure what one is. Window...
by Mac
Mon Sep 17, 2007 11:39 am
Forum: QBASIC and QB64 Questions & Answers
Topic: If you hate QB GUIs look away.
Replies: 8
Views: 18171

Re: If you hate QB GUIs look away.

Brandon wrote:If you hate QB GUIs look away
Uh, right, but what's a "QB GUI"?

And where would one find Fun500 GUI 3.0

Mac
by Mac
Sat Sep 15, 2007 9:25 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Why not the same result?
Replies: 4
Views: 6539

Nixon wrote:Because ...blah, blah
Good answer!!

Mac
by Mac
Sat Sep 15, 2007 9:22 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Compiling
Replies: 11
Views: 23428

about qb 4.5 1. Do i have to pay for it? 2. Is it illegal to download from the internet? 3. Why is it illegal to download it for free if Microsoft doesn't sell this product anymore? 1) No 2) Maybe technically, yes, but in actual fact, no. I've heard in Massachusetts or some state, it is illegal for...
by Mac
Sat Sep 15, 2007 9:49 am
Forum: QBASIC and QB64 Questions & Answers
Topic: getting ALL the data from a .exe file? Please Help Me
Replies: 9
Views: 11955

Thank you You're welcome, but I have a bug in the code I gave you. Insert OPEN "z.xxx" FOR OUTPUT AS #2: CLOSE #2: 'reset size to zero before OPEN "z.xxx" FOR BINARY AS #2 (assuming you use two files. If you are encrypting in place, you will have only one file and no need for th...
by Mac
Sat Sep 15, 2007 9:43 am
Forum: QBASIC and QB64 Questions & Answers
Topic: getting ALL the data from a .exe file? Please Help Me
Replies: 9
Views: 11955

Actually you do [read/write blocks] True. But a blocksize of 1 is best for this kind of operation. Disk i/o is the same as QBasic keeps a buffer anyway. It would be difficult to detect any difference in run time, but you may want to write some test programs to show me otherwise. Why is 1 the best? ...
by Mac
Fri Sep 14, 2007 8:33 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Text Saving and Loading Help?
Replies: 14
Views: 18420

Good Man

Glad you are back on track.

Mac
by Mac
Fri Sep 14, 2007 8:25 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Text Saving and Loading Help?
Replies: 14
Views: 18420

Got stuck in the room with all the colorful pound signs. If you are in a room and the doors are closed, you have to get rid of all the pound-signs that are the same color as you are. Once you do that, you can go to another room. If you enter a room with no pound-signs that are your color, then you ...