Search found 10 matches

by Andi
Tue Oct 31, 2006 11:42 pm
Forum: Freebasic Questions & Answers
Topic: freebasic compiling problems
Replies: 7
Views: 24228

You are using the 0.17 unstable version, right? 0.17 has engaged in a new way and it has become very picky about DIMming variables, I can't tell you about labels as i never use them. To recover the QB-friendly behavior add to the command line the new option -lang qb fbc -lang qb mysource.bas I trie...
by Andi
Mon Oct 23, 2006 6:17 pm
Forum: Freebasic Questions & Answers
Topic: freebasic compiling problems
Replies: 7
Views: 24228

freebasic compiling problems

I'm using FreeBasic Compiler to compile a Qbasic program I wrote. Unfortunately, I keep getting errors that say: C:\qbfiles\fbasic>fbc example/uncle.bas example/uncle.bas(1543) : warning level 0: Implicit variable allocation, rathole3num example/uncle.bas(2420) : warning level 0: Implicit variable a...
by Andi
Fri Oct 06, 2006 10:59 pm
Forum: General Discussion
Topic: Computer acronyms
Replies: 9
Views: 16799

MystikShadows wrote:DOS = Definitaly Overwriting Something
I had a good chuckle at this one.
by Andi
Fri Sep 15, 2006 5:29 pm
Forum: General Discussion
Topic: are you prepared for emergencies with a kit?
Replies: 32
Views: 60051

Unlike you americans, the rest of the civilized world dont live in fear. OMFG! DID THE THREATLEVEL JUST GO TO BANANA!? QUICK TO THE SHELTER! I don't think most Americans behave like this. On subject: A good pocket knife usually costs more than a buck. I paid $15 for the one I own now and it doesn't...
by Andi
Sat Sep 02, 2006 5:08 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: A way to set all variables at once?
Replies: 5
Views: 10409

Re: Might want to give CLEAR a try?

No you cant unless you dont stop and rerun program. But if you have so many variables to clear at once, maybe you should aproach this one from bit different direction. Do an array, Weapon() Weapon(1) Weapon(2) and so on. Yeah. This is how I thought I was going to have to do it. However, I noticed t...
by Andi
Fri Sep 01, 2006 10:37 am
Forum: QBASIC and QB64 Questions & Answers
Topic: A way to set all variables at once?
Replies: 5
Views: 10409

A way to set all variables at once?

I'm writing a game. Everytime you die in the game, you are thrown back to the main menu. At the top of the menu code I have lots of line devoted to resetting all my variables to 0. For instance: start: CLS treasurenum=0 revolvernum=0 armsnum=0 bulletnum=0 vinenum=0 This goes on and on for over 50 or...
by Andi
Sun Aug 20, 2006 11:41 am
Forum: General Discussion
Topic: Programmers Day
Replies: 12
Views: 23455

MystikShadows wrote:One date of reference is when the first bug was found

http://www.jamesshuggins.com/h/tek1/fir ... _large.htm

September 9th, 1945 :-)
Wow. A real bug, who would've thought?
by Andi
Thu Aug 17, 2006 12:38 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Sigh... "Program-memory overflow"
Replies: 12
Views: 25881

Re: Whoops

"The only other limit to be aware of is QBASIC's 160K limit on program AND code size. One buffer of sprites (252 sprites) will eat almost 64K, leaving you with less than 100K to put the rest of your code in! QuickBASIC and PowerBASIC users shouldn't have any problem though." (See http://w...
by Andi
Wed Aug 16, 2006 12:50 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Sigh... "Program-memory overflow"
Replies: 12
Views: 25881

Splitting program into modules Use subroutines and/or functions instead of one long continuous main program. For example, you could create a subroutine that centers text in Screen 13 (screen is 80 characters wide). Here's some code that uses one subroutine: (Note that SUBs are DECLARED at the begin...
by Andi
Tue Aug 15, 2006 10:19 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Sigh... "Program-memory overflow"
Replies: 12
Views: 25881

Divide your code into modules, or try using FreeBASIC I'm having the exact same problem as Stoves is except that I can't seem to get FreeBasic to work for me either. I don't understand what you mean about dividing your code into modules, is there a good faq on the subject someone could link me to? ...