Search found 10 matches
- Tue Oct 31, 2006 11:42 pm
- Forum: Freebasic Questions & Answers
- Topic: freebasic compiling problems
- Replies: 7
- Views: 25873
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...
- Mon Oct 23, 2006 6:17 pm
- Forum: Freebasic Questions & Answers
- Topic: freebasic compiling problems
- Replies: 7
- Views: 25873
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...
- Fri Oct 06, 2006 10:59 pm
- Forum: General Discussion
- Topic: Computer acronyms
- Replies: 9
- Views: 17032
- Fri Sep 15, 2006 5:29 pm
- Forum: General Discussion
- Topic: are you prepared for emergencies with a kit?
- Replies: 32
- Views: 63002
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...
- 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: 10724
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...
- 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: 10724
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...
- Sun Aug 20, 2006 11:41 am
- Forum: General Discussion
- Topic: Programmers Day
- Replies: 12
- Views: 24085
Wow. A real bug, who would've thought?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
- Thu Aug 17, 2006 12:38 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Sigh... "Program-memory overflow"
- Replies: 12
- Views: 27552
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...
- Wed Aug 16, 2006 12:50 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Sigh... "Program-memory overflow"
- Replies: 12
- Views: 27552
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...
- Tue Aug 15, 2006 10:19 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Sigh... "Program-memory overflow"
- Replies: 12
- Views: 27552
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? ...