QB and VB

Discuss popular GCS tools like ZZT, Megazeux and Adventure Game Studio, as well as programming and other topics related to game design.
Post Reply
User avatar
DosReaper
Expert
Expert
Posts: 100
Joined: Sat Jul 31, 2004 6:35 pm
Location: CA

QB and VB

Post by DosReaper »

What the difference between the two? :shifty:
o_O
User avatar
Dosser
Way too much free time
Way too much free time
Posts: 462
Joined: Sun Jan 02, 2005 2:05 am
Location: BEHIND YOU

Post by Dosser »

QB is mainly DOS, VB windows.

but they are completely different: they have a few similarities, but can basically be thought of as different programming languages.
User avatar
Frenkel
Way too much free time
Way too much free time
Posts: 546
Joined: Wed May 05, 2004 7:47 am
Location: Netherlands

Post by Frenkel »

There is a VB version for DOS.
Groeten van Frenkel
Visit us at the Official S&F Prod. Homepage
b_unlogged

Post by b_unlogged »

Qbasic is 16 bit. It uses an ide that was quite advanced for it's time. (realtime error checking, fixes syntax, etc. etc.) It is a slow, very easy to learn programming language. Quite famous for it's easy, but slow built in gfx commands. Not practical for anything, save learning to program. Freebasic does anything qb does, and it's much faster. Very close to 100% syntax compatible. (faster than powerbasic.) And it's gfx statements beat out allegro in speed tests.

Visual Basic is best for making quick forms. Similiar syntax to Qbasic, but each version of Visual Basic is increasingly less like Qbasic. Not best choice for graphical program.s
User avatar
Sorcerdon
Expert
Expert
Posts: 136
Joined: Wed Jan 26, 2005 5:34 pm
Location: Floirda, USA

Post by Sorcerdon »

Qbasic is not 16 bit!
It can build 64 bit appilcations - but i wouldnt recommend you making one - because it would take u longer than ur life.
It has no debugging(error checking) - although u can build one.
Althuogh it did have a syntax errors or devide by zero errors, time out errors - basic syntax and calculator errors.

QBasic (QB) - is a spaghetti language. What that means: Language that is a qurey langauge but with "Sub"s and "Goto sub"s that means it has no functions and the game had to be written in one long pieace of code and u could call a sub - that means Jump to a location in the code where a # sub was located. This code was named spaghetti because the code ran up and down the lines - meaning it went to a sub somewhere in the code.

Visual Basic (VB) - Its a visual OOP(Object Oriented Programming - made in 1974) language. With user functions, visual controls such as buttons, windows, and others. It was useful for windows applications and NOT for games.
regards,
<img src="http://img235.exs.cx/img235/8673/sorcerdonlogo6qk.jpg" width="181" alt="Image Hosted by ImageShack.us" />
shadowwolf

Post by shadowwolf »

sorcerdon do some research before you make post like that.

Qbasic is a 16bit realmode programming lang

if you talking about doing 64bit numeric calulation yes you could do that is you made your own emulation function to do the calulations. but there no way QB will ever be able to use X86-64 opcode's even with asm you can't do since qb will not operated in protected mode.

also QB is procedural language yes there go gosub but there also Fuction's
i.e.
Declare function Foo(X as interger , Y as interger) as integer

also GOSUB isn't extreamly bad even with a moderday compiler like Freebasic
since in function you have to PUSH all your arguments onto the stack with a GOSUB all you have to is push a return address to the stack so it's faster then a function call.

also visual basic is not a OOP lang i has some aspects of OO but it not a true OO lang tecniqley C++ not a true OO lang ether since you can do thing proceduraly.
VB.NET is a true OO lang makes you use object for everything.

oh debugging QB has some very good debuging tools like code step though break point's ect varible tracking.
dosguy
Member
Member
Posts: 10
Joined: Tue May 31, 2005 2:39 pm

Post by dosguy »

Both QB and VB are good beginner languages- VB for windows apps with forms, buttons and GUI stuff.. QB for folks who love dos games. The problem with QB is you need to fork out £££ for a compiler to make .exe files.
User avatar
Wally
King of the Carrot Flowers
Posts: 4714
Joined: Thu May 01, 2003 8:30 pm

Post by Wally »

I dont concur..

i personally think VB is NOT for beginners.. I mean you gotta know how to use the damn thing before you can use it. Besides you need to pay $$$ for the software and the manual doesnt really make much sense. Also if there is an error and for somereason you never got the book then MSDN costs you an extra like $50 .

I havent used QB but yeah
Fenrir
Member
Member
Posts: 37
Joined: Mon Mar 28, 2005 8:47 pm
Location: England

Post by Fenrir »

People who program in visual basic should consider moving to REALbasic www.realsoftware.com . Tis much more fun in my opinion, + you can compile your programs to work with macs and under linux aswell.
dosguy
Member
Member
Posts: 10
Joined: Tue May 31, 2005 2:39 pm

Post by dosguy »

Hmm In my opinion switch to java for a few monts then c++- java first to ease the leanring curve
Post Reply