Try to keep data in separate files and the processes to the executable itself.
If you are in real need of compression, with some fancy tricks, you can save multiple flags to a variable.
Search found 409 matches
- Sun Apr 27, 2008 9:01 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: MEMORY OVERFLOW ERROR !!! (Don't need help anymore)
- Replies: 16
- Views: 29927
- Sat Apr 26, 2008 4:09 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: QBasic Hard! Need help please.
- Replies: 3
- Views: 6084
I think you need two more swap routines for the other arrays. And then, once you're sorted, start in the middle of the list. If your target is less than your observed, go to the lower end, else go higher. Then take that new list (from the extreme to your previous number), and repeat until you hit yo...
- Sun Apr 20, 2008 5:17 pm
- Forum: Freebasic Questions & Answers
- Topic: Odd Buffer problem
- Replies: 7
- Views: 34724
?
Once again for the umpteenth time, I have the feeling I'm missing something .
- Sun Apr 20, 2008 2:36 pm
- Forum: Pete's QB Site News
- Topic: QB Express Article Requests
- Replies: 140
- Views: 631678
- Thu Apr 17, 2008 7:26 am
- Forum: Freebasic Questions & Answers
- Topic: Odd Buffer problem
- Replies: 7
- Views: 34724
Re: wow.. odd
That is weird.. Kinda like a mix of a FNExpression and.. something.. Constructicons.. unite! hahaha.. ^~^ Thanks very much for the detailed info on how to use it. I may consider using it now that I know what it is. It's pretty much a method that runs at the start of being DIMed. And a deconstructor...
- Wed Apr 16, 2008 5:02 pm
- Forum: Freebasic Questions & Answers
- Topic: Odd Buffer problem
- Replies: 7
- Views: 34724
you lost me at constructor.. isn't that a transformer toy? constructor.. FB keyword?? A constructor is a special kind of procedure. And it's a keyword. Such as TYPE dog 'some data age AS INTEGER weight AS INTEGER 'sets up weight, and sets age to 5 DECLARE CONSTRUCTOR(AS INTEGER) END TYPE DIM AS dog...
- Tue Apr 15, 2008 2:55 pm
- Forum: Freebasic Questions & Answers
- Topic: Odd Buffer problem
- Replies: 7
- Views: 34724
Odd Buffer problem
I've been having a weird Allocation problem. If I store 640 in a short var wdth, and 480 to a short var height (screen dimensions), and then ask to allocate, the bugger fails. If I ask to allocate a 640*480 buffer, it continues. However, the first case works if the dimensions are smaller (but I'm no...
- Tue Apr 15, 2008 7:10 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Back face culling
- Replies: 13
- Views: 22251
- Tue Apr 08, 2008 5:03 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Back face culling
- Replies: 13
- Views: 22251
- Mon Apr 07, 2008 8:20 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: COLOR for screen 13
- Replies: 16
- Views: 21500
- Mon Apr 07, 2008 6:17 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Back face culling
- Replies: 13
- Views: 22251
- Thu Apr 03, 2008 6:30 pm
- Forum: Freebasic Questions & Answers
- Topic: What's up with the FB site?
- Replies: 3
- Views: 27542
- Thu Apr 03, 2008 4:17 pm
- Forum: Freebasic Questions & Answers
- Topic: Are the FB people gonna turn down this chance too?
- Replies: 11
- Views: 49040
- Thu Apr 03, 2008 7:36 am
- Forum: Freebasic Questions & Answers
- Topic: What's up with the FB site?
- Replies: 3
- Views: 27542
What's up with the FB site?
I can't pull it up, but the cache and the other sites work fine. I can even pull up the forum.
- Thu Apr 03, 2008 5:44 am
- Forum: Freebasic Questions & Answers
- Topic: Are the FB people gonna turn down this chance too?
- Replies: 11
- Views: 49040
- Wed Apr 02, 2008 6:29 am
- Forum: Freebasic Questions & Answers
- Topic: How to keep a program from hogging the processor?
- Replies: 7
- Views: 36119
Re: If he went to bed?
Am I missing something here? The program apparently ran for a long time. Sounds better than sitting there waiting for answers! I anticipated a SLEEP kind of answer, but once you start something, ya gotta finish it! Ted These problems can run for a long time. So, I want to be able to use the compute...
- Tue Apr 01, 2008 3:59 pm
- Forum: Freebasic Questions & Answers
- Topic: How to keep a program from hogging the processor?
- Replies: 7
- Views: 36119
- Tue Apr 01, 2008 6:06 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: WRITING A SIMPLE GAME PROGECT.
- Replies: 16
- Views: 27196
Okay, think in coordinates. Now move the coordinates. Here's a way to move a dot across the screen in QB screen 12 cls 'coordinates dim x% dim y% 'something to hold keyboard input dim k$ do 'keyboard input k$=inkey$ 'move the dot 1 over, 1 down x%=x%+1 y%=y%+1 'draw it pset(x,y),15 'clear up behind ...
- Mon Mar 31, 2008 8:48 pm
- Forum: Freebasic Questions & Answers
- Topic: How to keep a program from hogging the processor?
- Replies: 7
- Views: 36119
How to keep a program from hogging the processor?
I was just wondering how to run make FB programs in the back ground. Specifically, math intensive programs that run for extensive periods. I had to run one overnight because everything else was getting unresponsive or ridiculusly slow.
- Mon Mar 31, 2008 8:38 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: WRITING A SIMPLE GAME PROGECT.
- Replies: 16
- Views: 27196
Well, break it down into parts. Such as a sub for drawing boxes.
Burger is right. We're here to help, not do work somebody else should be doing. And regurgitating code doesn't help with the learnign process. If somebody wants to know correct syntax of PUT or help with debugging a sub, then it's okay.
Burger is right. We're here to help, not do work somebody else should be doing. And regurgitating code doesn't help with the learnign process. If somebody wants to know correct syntax of PUT or help with debugging a sub, then it's okay.