Qbasicnews.com

Full Version: Different versions....which one?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey All,I am new to this group, just registered. I used to be big in to QB a long time ago (I was 8 to give you an idea) and for my age was quite good at it. I assume I was using 1.1 because it came with DOS. Ten years later I am wanting to get back into it. I have forgotten a lot but think I can pick it back up fairly fast. My question: Which version? As far as I knew, 1.1 was all there was. Now I hear about 4.5 and 7.1. When did these come out? Are they designed for newer machines? Which one should I use? What is the difference?

Also, is QB an outdated language and used just for fun, or is there still some use for it? Thanks all a lot! Personally, I like this and I'ts a lot like a game for me. Just where do I start and with what do I start (over) with? Thanks again!
Crane, the main reason you want to use 4.5 or 7.1 is that they have the ability to compile code to create stand-alone executables. That is, you can take your program "coolprog.bas" and create "coolprog.exe" which will run on any windows machine (in DOS mode), without having to fiddle-fuck around with the QB interpreter. Compiling bug-free code is nice...kinda like having something published...it's done and you don't have to worry about changing something accidently...and you can still work on the source if you want to...

V7.1 has some tools...and a few data-types that aren't supported by earlier versions. It also has more compiler options available from the mouse (without using the command line compiler). Really, it makes very little difference which you use.

Welcome back to QB.

I also recently started using QB again...after a long on and off (mostly off) history of using various flavors of BASIC. I decided about 10 yrs ago that I didn't have the time to code...And I started using packaged programms instead for most of my computing. However, I can't seem to shake the habit...

Here's one I wrote for the '9-line screensaver' contest on this site...when you get up and running with 4.5, post some code!



Code:
1 IF g = 0 THEN SCREEN 12 ELSE rot = rot + .1
2 rot2 = rot2 + .1 + .2 * p
3 FOR g = -8 TO 8
4 IF rot2 > 25.1 OR rot2 < 0 THEN p = NOT p ELSE CIRCLE ((320 + 10 * rot2 * SIN(1 * rot)) + ((9 - ABS(g)) * SGN(g) * 6) * SIN(rot), (350 + 10 * SIN(1 * rot)) + (((9 - ABS(g)) * SGN(g) * 2) + 4) * SIN(rot)), 9 - ABS(g), ABS(14 - 4 * ABS(g))
5 CIRCLE ((160) + ((9 - ABS(g)) * SGN(g) * 10) * COS(rot), (400 + -30 * SIN(1 * rot)) + (((9 - ABS(g)) * SGN(g) * 2) + 4) * SIN(rot)), 9 - ABS(g), 1 + ABS(g)
6 CIRCLE ((480) + ((9 - ABS(g)) * SGN(g) * 10) * COS(rot), (400 + 30 * SIN(1 * rot)) + (((9 - ABS(g)) * SGN(g) * 2) + 4) * SIN(rot)), 9 - ABS(g), 1 + ABS(g)
7 NEXT g
8 PRINT
9 IF INKEY$ = "" THEN GOTO 1 ELSE END

btw...the easy way get code from here to QB is ti cut-n-paste to notpad, save, then open in QB. if you do other ways, it won't work if the code has SUBs or FUNCTIONs.

Cheers
Hey Mango!!!! I like that DNA thingy!!!!

;*)
Great jehosaphat... or something like that... Cool :o