Learning [V]BASIC

GEC: Discuss gaming, computers and electronics and venture into the bizarre world of STGODs.

Moderator: Thanas

Post Reply
User avatar
kojikun
BANNED
Posts: 9663
Joined: 2002-07-04 12:23am
Contact:

Learning [V]BASIC

Post by kojikun »

I need some resources for learning the BASIC programming language. Google's BASIC directory doesnt have any tutorial sites worth the server space they occupy, and I can't find any books at my local Barnes and Noble. I bought VB6 for Dummies, however it doesn't teach any actual BASIC. Amazon doesn't have anything just on BASIC. Help? :(
Sì! Abbiamo un' anima! Ma è fatta di tanti piccoli robot.
User avatar
phongn
Rebel Leader
Posts: 18487
Joined: 2002-07-03 11:11pm

Post by phongn »

Why are you looking at BASIC? Why not learn another, more modern, language?

EDIT: Also, which BASIC are you using? The one that comes with DOS?
User avatar
Gil Hamilton
Tipsy Space Birdie
Posts: 12962
Joined: 2002-07-04 05:47pm
Contact:

Post by Gil Hamilton »

phongn wrote:Why are you looking at BASIC? Why not learn another, more modern, language?

EDIT: Also, which BASIC are you using? The one that comes with DOS?
Well, if he's going to do programming for Windows, he's going to want to know BASIC, since it's my understanding that they do alot of their programming in Visual BASIC.
"Show me an angel and I will paint you one." - Gustav Courbet

"Quetzalcoatl, plumed serpent of the Aztecs... you are a pussy." - Stephen Colbert

"Really, I'm jealous of how much smarter than me he is. I'm not an expert on anything and he's an expert on things he knows nothing about." - Me, concerning a bullshitter
User avatar
kojikun
BANNED
Posts: 9663
Joined: 2002-07-04 12:23am
Contact:

Post by kojikun »

Yes lots of windows programming is VBasic. I wanna make some games, and VBasic seems to be rather good for this. Or so I've heard. I'm going to look into VC++ tho cause c++ im familiar with.

Plus, what other programming language can you use on an ATARI? :)
Sì! Abbiamo un' anima! Ma è fatta di tanti piccoli robot.
BabelHuber
Padawan Learner
Posts: 328
Joined: 2002-10-30 10:23am

Post by BabelHuber »

Well, first of all, if you can program C++ you shouldn´t have any difficulties to learn any other programming language. This is, if you really know it, of course.

C++ is one of the best languages to code anyway, it´s blazingly fast and it doesn´t force you to program object-oriented all the time, in fact you can do what you want, e.g. using pointers to pointers, undefined arrays that are just pointers etcetcetc. Ideal for games.

BASIC and Visual Basic are 2 completely different languages, BTW.
Ladies and gentlemen, I can envision the day when the brains of brilliant men can be kept alive in the bodies of dumb people.
User avatar
kojikun
BANNED
Posts: 9663
Joined: 2002-07-04 12:23am
Contact:

Post by kojikun »

fuck. ok well then ill just read my little book and do vc++ as well. :) thankies.
Sì! Abbiamo un' anima! Ma è fatta di tanti piccoli robot.
Howedar
Emperor's Thumb
Posts: 12472
Joined: 2002-07-03 05:06pm
Location: St. Paul, MN

Post by Howedar »

If you know C++, VB ought to be pathetically easy to learn. Kindergarteners could learn VB.
Howedar is no longer here. Need to talk to him? Talk to Pick.
User avatar
EmperorMing
Sith Devotee
Posts: 3432
Joined: 2002-09-09 05:08am
Location: The Lizard Lounge

Post by EmperorMing »

kojikun wrote:Yes lots of windows programming is VBasic. I wanna make some games, and VBasic seems to be rather good for this. Or so I've heard. I'm going to look into VC++ tho cause c++ im familiar with.

Plus, what other programming language can you use on an ATARI? :)
There is a flavor of Basic out there, Dark Basic? I'm thinking of that you may want ot check out. Been used for a lot of recent games...
Image

DILLIGAF: Does It Look Like I Give A Fuck

Kill your God!
User avatar
phongn
Rebel Leader
Posts: 18487
Joined: 2002-07-03 11:11pm

Post by phongn »

C++ is still somewhat immature, though - notice how many applications are still coded in C. It isn't that fast either, though compilers are getting better.
User avatar
kojikun
BANNED
Posts: 9663
Joined: 2002-07-04 12:23am
Contact:

Post by kojikun »

Howwie, you know any languages? Which would be best for games..?
Sì! Abbiamo un' anima! Ma è fatta di tanti piccoli robot.
Howedar
Emperor's Thumb
Posts: 12472
Joined: 2002-07-03 05:06pm
Location: St. Paul, MN

Post by Howedar »

I knew VB and Java once. I found VB to be a pretty decent language. What sort of games do you have in mind?
Howedar is no longer here. Need to talk to him? Talk to Pick.
User avatar
kojikun
BANNED
Posts: 9663
Joined: 2002-07-04 12:23am
Contact:

Post by kojikun »

classic 2D shooters (like the modern Bangaioh) maybe some 3D if I can hack together a good render engine..
Sì! Abbiamo un' anima! Ma è fatta di tanti piccoli robot.
Howedar
Emperor's Thumb
Posts: 12472
Joined: 2002-07-03 05:06pm
Location: St. Paul, MN

Post by Howedar »

It can be done in VB, although I wouldn't want to be the one to have to code it.
Howedar is no longer here. Need to talk to him? Talk to Pick.
User avatar
Hethrir
Jedi Master
Posts: 1095
Joined: 2003-03-25 05:37am
Location: Brisbane, Australia
Contact:

Post by Hethrir »

I hope you don't plan on using the DirectX APIs...I tried a couple of times and was left with desk imprints on my forehead.

VB is nearly a case tool. drag the buttons on a form, splash a little code in and run! I learnt VB5 and 6 at college. Try these sites. Back in 99 when i started VB 5 there were heaps of awesome VB site with tonnes of public domain code, but they all shut down for some reason :?

http://www.planet-source-code.com/
http://www.vbexplorer.com/VBExplorer/VBExplorer.asp
BabelHuber
Padawan Learner
Posts: 328
Joined: 2002-10-30 10:23am

Post by BabelHuber »

C++ is still somewhat immature, though - notice how many applications are still coded in C. It isn't that fast either, though compilers are getting better.
But C++ has OO capabilities. While it's not the be-all-end-all like a lot of people think, it can make programming more efficent in some cases, including UI and gaming stuff.
Ladies and gentlemen, I can envision the day when the brains of brilliant men can be kept alive in the bodies of dumb people.
User avatar
EmperorMing
Sith Devotee
Posts: 3432
Joined: 2002-09-09 05:08am
Location: The Lizard Lounge

Post by EmperorMing »

kojikun wrote:classic 2D shooters (like the modern Bangaioh) maybe some 3D if I can hack together a good render engine..
Then you might want to consider Dark Basic.

Here: www.darkbasic.com
Image

DILLIGAF: Does It Look Like I Give A Fuck

Kill your God!
User avatar
LordShaithis
Redshirt
Posts: 3179
Joined: 2002-07-08 11:02am
Location: Michigan

Post by LordShaithis »

10 PRINT "ASS!";
20 GOTO 10
If Religion and Politics were characters on a soap opera, Religion would be the one that goes insane with jealousy over Politics' intimate relationship with Reality, and secretly murder Politics in the night, skin the corpse, and run around its apartment wearing the skin like a cape shouting "My votes now! All votes for me! Wheeee!" -- Lagmonster
User avatar
phongn
Rebel Leader
Posts: 18487
Joined: 2002-07-03 11:11pm

Post by phongn »

GrandAdmiralPrawn wrote:10 PRINT "ASS!";
20 GOTO 10
Pity that Visual Basic does not use line numbers.
User avatar
LordShaithis
Redshirt
Posts: 3179
Joined: 2002-07-08 11:02am
Location: Michigan

Post by LordShaithis »

It fucking should. DO/WHILE is for commies, godammit.......
If Religion and Politics were characters on a soap opera, Religion would be the one that goes insane with jealousy over Politics' intimate relationship with Reality, and secretly murder Politics in the night, skin the corpse, and run around its apartment wearing the skin like a cape shouting "My votes now! All votes for me! Wheeee!" -- Lagmonster
User avatar
phongn
Rebel Leader
Posts: 18487
Joined: 2002-07-03 11:11pm

Post by phongn »

Line numbers are stupid, and if you're learning how to program you may as well learn how to do real looping and nesting since no other languages uses it.
User avatar
LordShaithis
Redshirt
Posts: 3179
Joined: 2002-07-08 11:02am
Location: Michigan

Post by LordShaithis »

Noooooooooo! It's EVIL! When I take over, C++ is going to have to add line numbers! That is if someone conjures up a version for the Commodore 64, which will be the only legal computer on earth! Mwa ha ha! *slobber*
If Religion and Politics were characters on a soap opera, Religion would be the one that goes insane with jealousy over Politics' intimate relationship with Reality, and secretly murder Politics in the night, skin the corpse, and run around its apartment wearing the skin like a cape shouting "My votes now! All votes for me! Wheeee!" -- Lagmonster
Crazy_Vasey
Jedi Council Member
Posts: 1571
Joined: 2002-07-13 12:56pm

Post by Crazy_Vasey »

phongn wrote:C++ is still somewhat immature, though - notice how many applications are still coded in C. It isn't that fast either, though compilers are getting better.
C++ compilers are the devil. The error messages you get from STL code are truly, deeply frightening at times.
User avatar
phongn
Rebel Leader
Posts: 18487
Joined: 2002-07-03 11:11pm

Post by phongn »

I hear MSOC13 (e.g. VS.net) is getting pretty good. ICC sometimes barfs, tho.
Crazy_Vasey
Jedi Council Member
Posts: 1571
Joined: 2002-07-13 12:56pm

Post by Crazy_Vasey »

VS.NET 2003 is supposed to support just about everything in the C++ standard. I have no idea if they fixed the paragraph long error messages from a single typo though.
User avatar
SyntaxVorlon
Sith Acolyte
Posts: 5954
Joined: 2002-12-18 08:45pm
Location: Places
Contact:

Post by SyntaxVorlon »

There is a basic interpreter in dos I think, I have learn Visual Basic (for beginers) in 24 hours/chapters.
Or maybe it was learn Programming in 24 hours.
You'll probably be better off with C++ or C anyway.
Post Reply