Search found 17 matches

by ThemePark
Wed Feb 10, 2010 10:22 pm
Forum: News and Announcements
Topic: fake admin
Replies: 17
Views: 15708

And now one from ModeratorTeam. :(
by ThemePark
Mon Sep 24, 2007 4:43 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Help with searching for words (for a data base)
Replies: 20
Views: 15017

Lee, the extension does not matter, you can use .fil, .txt, .doc, .dat or any other extension you want as long as it's 3 characters only. And .fil is just an abbreviation of File.
by ThemePark
Sun Sep 23, 2007 1:13 pm
Forum: General Discussion
Topic: is Qb dead?
Replies: 21
Views: 21327

D.S., to me QuickBasic is still very much alive and kicking. I actually expected QB to be pretty much dead for the last many years, until I came across this site a couple of months ago. The fact that it still exists proves more than anything to me that QB is far from dead. Also, just look at the man...
by ThemePark
Thu Sep 13, 2007 5:32 am
Forum: News and Announcements
Topic: New QB GUI Site
Replies: 13
Views: 14101

Sorry Brandon, that's what I meant too. This page.

http://fun500.brandoncornell.com/?page=downloads.html

I just thought it was part of the JacobPalm website.
by ThemePark
Tue Sep 11, 2007 9:23 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: List of fancy little QuickBasic coding tricks
Replies: 5
Views: 5806

Pft, only took me 5 mins to go through all that, including programs.

Thanks mac, this is exactly what I was talking about, so it should be very useful in my learning process. And yeah, it should take me a while to go through it. :P
by ThemePark
Tue Sep 11, 2007 8:28 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Prog Help plz
Replies: 10
Views: 7431

Disk1of64, I'm not quite sure what it is that you want to do. Do you have some mathematical formulas at hand that you want to use with a row of numbers and then predict the forthcoming numbers, or do you somehow want the program to calculate a formula from the numbers you're given? Also, I must admi...
by ThemePark
Tue Sep 11, 2007 8:25 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: List of fancy little QuickBasic coding tricks
Replies: 5
Views: 5806

Thanks Mac, programming tricks is a better phrase to use so I changed the title accordingly. You have a good point, and the few tricks I've noticed so far have also been from looking at other people's codes. For instance, using semicolon instead of plus in a print sentence makes it look cleaner to m...
by ThemePark
Tue Sep 11, 2007 8:11 pm
Forum: News and Announcements
Topic: New QB GUI Site
Replies: 13
Views: 14101

Well, the site seems to work fine to me, I didn't get any blue screens or errors. However the GUI download links are broken.
by ThemePark
Tue Sep 11, 2007 2:37 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: List of fancy little QuickBasic coding tricks
Replies: 5
Views: 5806

List of fancy little QuickBasic coding tricks

Ya okay, quirks is not the best word to use, but with my mental English dictionary being shut down, it'll do for now. BASICally what I'm wondering is if there is a book or a website that deals with all the little fancy things in QuickBASIC, that set the line between a so-and-so programmer, and a sho...
by ThemePark
Mon Sep 10, 2007 6:17 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Best iterating through all values for all elements in array
Replies: 14
Views: 9339

Sorry for the delay, but I've spent the last 4 days trying to get my computer back up and running. :( You make a good point with those programs, Mac, with that long a run time, I think I'm just going to go with Mentat's suggestion and somehow try and recreate the matrix from the rules. Thank you bot...
by ThemePark
Sat Sep 01, 2007 6:51 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Best iterating through all values for all elements in array
Replies: 14
Views: 9339

Yep, I got it, but Mac, since you didn't understand what I was trying to explain, I made a small program to demonstrate it. Yes, I know it's horribly coded but it shows my purpose, which is all I intended for it to do. DECLARE SUB Method1 () DIM SHARED Grid(1 TO 5, 1 TO 5) AS INTEGER DIM SHARED RowC...
by ThemePark
Tue Aug 28, 2007 7:20 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Best iterating through all values for all elements in array
Replies: 14
Views: 9339

Yeah you're right, sorry about that, the number I posted was from another project I had been working on. But alright, let's boil it down to something a little smaller. It's the principle in it that I want to try out anyway. For instance a 4x4 array where you have to choose between between the number...
by ThemePark
Mon Aug 27, 2007 9:42 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Best iterating through all values for all elements in array
Replies: 14
Views: 9339

Actually there's not a specific application. I have made many applications where I have had to do the basics of what I described above, but just with different values and I have never known a good way of doing it. The sudoku and my own example are just a couple of examples to show what I mean. Simpl...
by ThemePark
Mon Aug 27, 2007 8:43 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Possible to store an array in a sub?
Replies: 12
Views: 10359

Actually it should be 0 to 4, since you dimension 5 elements in the array. But lbound to ubound would be better, less hard-coding, although it's not really important in a small program like this.
by ThemePark
Sat Aug 25, 2007 7:47 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Memory problems with user-defined types
Replies: 2
Views: 3250

While I haven't tried compiling it yet, and thus don't know if it has resolved the Data Memory issue, it seems to work for the other issues. Thank you. I must admit though that I'd prefer if there was a solution that allowed me to keep my userdefined types, mainly for good structure. At the moment I...
by ThemePark
Sat Aug 25, 2007 7:38 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Best iterating through all values for all elements in array
Replies: 14
Views: 9339

Best iterating through all values for all elements in array

Ya, quite a long title. It's a hard problem to cut down to a mere line of description. Let's say that I have an array of 5x5 elements, i.e. a total of 25. Each of these elements can have a value from 1 to 4. And what I want to do is to check for all possible combinations of these values. I'm aware t...
by ThemePark
Thu Aug 23, 2007 6:21 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Memory problems with user-defined types
Replies: 2
Views: 3250

Memory problems with user-defined types

I am trying to make a user-defined type to help me define an image. To do this, I of course need an array of pixels, and since the screen in QuickBasic can be a maximum of 640x480 that is how big I want the array to be. So I declare it like this. TYPE Image Pixel(0 TO 319, 0 TO 479) AS INTEGER Palet...