## Search found 81 matches

Mon Nov 28, 2005 10:16 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Program to convert to BMP
Replies: 8
Views: 4577
IrfanView, loads and saves about 2 dozen formats (although doesn't support transparency in PNGs).
Tue Nov 22, 2005 6:17 pm
Forum: News and Announcements
Topic: 1 Key
Replies: 12
Views: 13804
Deleter wrote:cool, I have always wanted a blue internet...I am stuck with an indigo one

...

I wonder if i can exchange it for a better one...
You ain't exchanging anything, this one's MINE.
Tue Nov 22, 2005 3:02 pm
Forum: News and Announcements
Topic: 1 Key
Replies: 12
Views: 13804
So what do I win?
Tue Nov 08, 2005 8:56 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Random Numbers
Replies: 20
Views: 21465
You'd either want to do int((rnd-.5)*400) or int(rnd*400) - 200, both of which give you [-200, 199] ranges.
Tue Nov 08, 2005 7:59 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Random Numbers
Replies: 20
Views: 21465
Well, there's plenty of things that fall under "chaos" that wouldn't be suitable for a random number generator. Most single-prior-term systems fall under that. Take the quadratic iterator for example: x(n+1) = a*x(n)*(1-x(n)) For x(n) in [0..1] and a = [0..4]. Most notably the case for a = 4. This p...
Tue Nov 08, 2005 12:25 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Random Numbers
Replies: 20
Views: 21465
:shock: Of course it can return a number more then once! If you roll a dice 27 you get each number more then once, that's still a random number generator. What I ment was there is no repitition of the pattern, eg. int(rnd*2) -> 1 0 1 0 1 0 1 0 Where there is a pattern in the random numbers. matt We...
Fri Nov 04, 2005 9:08 am
Forum: General Discussion
Topic: Competitions
Replies: 4
Views: 4456
I have a feeling I'm missing out on a lot by not having an account there...

Also, since the november QBXP isn't going to come out until the end of the month, is the deadline still the same, or has it been pushed back?

Edit: Hmm, it seems like I already have an account...
Mon Oct 31, 2005 8:46 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Line numbers
Replies: 6
Views: 5090
Actually, GW had a built-in function to renumber lines. I have a GW book right here, I'll look it up: RENUM Command Purpose: To renumber program lines. Syntax: RENUM ( new number ),( old number )(, increment ) Comments: - new number is the first line number to be used in the new sequence. The defaul...
Mon Oct 31, 2005 4:01 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: What does this mean?
Replies: 8
Views: 5353
Kylemc wrote:Converts a variable into a string. Adds a leading space for signing (+/-)

Code: Select all

``````string\$="Test "+LTRIM\$(STR\$(123))
PRINT string\$
``````
Except string is a reserved keyword and that code would never run
Mon Oct 24, 2005 4:09 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: QBasic Password program on Windows startup
Replies: 7
Views: 7154
The thing is that with all windows there is a way to bypass the autoexec.bat file. I have tried it... you just have to use the boot menu, and choose interactive startup or safe mode (or, if he was really evil, he would re-install your OS like thieves do). Yes, I did mention that, although the "best...
Mon Oct 24, 2005 11:38 am
Forum: QBASIC and QB64 Questions & Answers
Topic: QBasic Password program on Windows startup
Replies: 7
Views: 7154
Well, to get it at bootup, if it's Win98 or previous (he didn't say which OS he was running) you could just throw the compiled program into Autoexec.bat. In QB, you can create custom ON KEY events to trap ctrl-alt-del (which would just end up going back to the PW program again anyway), alt-tab, ctrl...
Sat Oct 15, 2005 5:43 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: easy PAINT question!!
Replies: 9
Views: 5247
The BF flag produces a filled box. If you want to still use the normal PAINT statement (which is slower, I think), you need to make sure the point you are painting is inside the box. (101, 101) would be above the box in this case, so it won't work.
Mon Oct 03, 2005 9:34 pm
Forum: News and Announcements
Topic: 1 key challenge revisited
Replies: 14
Views: 12854
Nathan1993 wrote:Or any game like that (EG bowling). I have an idea, but will I get counted off if I use ascii graphics? I wanna make a pure-text entry, and I suck at GFX.
Anyone could probably beat mine on graphics:

Mon Oct 03, 2005 5:59 pm
Forum: General Discussion
Topic: Whats everybody up to?
Replies: 17
Views: 14544
Buncha small games for Classix, and then a game for that one-key programming compo.
Fri Sep 30, 2005 7:15 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: question from a student
Replies: 10
Views: 5926
GOTOs aren't necessarily 100% bad - there's situations where the code comes out much cleaner using gotos.
Thu Sep 29, 2005 9:55 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Multiple files appending
Replies: 6
Views: 4799
I think this works better: dim flist(6) as string flist(1) = "C:\file.txt" flist(2) = "C:\blarga" flist(3) = "C:\poof\tjoff" flist(4) = "C:\Yadda" flist(5) = "C:\random\random\whatever\file.txt" flist(6) = "D:\otherhd\blipp" stri\$ = "Hello, World!" for a = 1 to 6 open flist(a) for append as #a next ...
Mon Sep 12, 2005 4:54 pm
Forum: Pete's QB Site News
Topic: Guest News Posts Now Subject to Approval
Replies: 23
Views: 27257
Wouldn't it make sense to not have the front page "Latest Topics" box include the posts from the News forum, since it's pretty much redundant with the news stuff being at the top of the page? The Latest Topics box highlights all the topics posted in the forums, not just news posts. It provides a fa...
Mon Sep 12, 2005 1:41 pm
Forum: Pete's QB Site News
Topic: Guest News Posts Now Subject to Approval
Replies: 23
Views: 27257
Wouldn't it make sense to not have the front page "Latest Topics" box include the posts from the News forum, since it's pretty much redundant with the news stuff being at the top of the page?
Wed Sep 07, 2005 4:47 pm
Forum: General Discussion
Topic: QB Express #14 Submissions
Replies: 29
Views: 21342
When I get home, I'll post a list of game demos that I've done in the last month or so. There's about half a dozen, I'm sure someone could review one of them.
Mon Sep 05, 2005 9:41 am
Forum: General Discussion
Topic: Pixel Graphics
Replies: 15
Views: 11925
For something that small, the detail would have to be in the animation. The other way to get more detail is to use more colors (since you can use 24-bit in FB, I'd start with a 64x64x8bit sprite, then scale it down with a program that does smooth scaling(like IrfanView) which gets more "detail" by a...