Anyone here actually know basic? [Archive] - SpeedGuide.net Broadband Community

View Full Version : Anyone here actually know basic?


XSeaNX
02-22-02, 10:11 PM
Yeah I know its an easy language but Im learning it in school....good to know who can help me out.

Whats weird is I can work with C++ and I know HTML yet BASIC sometimes gets me hung up...lol

master7
02-23-02, 04:36 PM
What do you need help with?

XSeaNX
02-23-02, 08:21 PM
just wondering if anyone knows it...lol its good to know...I know eventually I will be asking for help...its easy..but just TOO MANY DAMN STEPS...you have to make steps for steps you already wrote...what should take 100 lines takes 400 in basic...lol....but I dont know...Ill show you the stuff Im working on when I get back on monday...be kinda interesting to know what you guys think of it...

Ill give ya a hint...right now we are making a report card program that will print grades and give you your gpa...(did I mention turn number grades to letter grades with the help of if/and/else statements?)

Unregistered
02-23-02, 08:41 PM
I know some Visual Basic, I have no idea how compatible the code is, considering the object orientation of VB. You programming this in QBbasic or something?

XSeaNX
02-23-02, 09:06 PM
yepo Qbasic is it

Sadrok
03-01-02, 01:17 PM
I know some Qbasic, I actually started programming in Qbasic like 6 years ago. I know a bunch of stuff about it but not the ADVANCED stuff I've actually seen in some programs I've downloaded.

Mebe I could be some help

Easto
03-01-02, 01:18 PM
I understand VB, never really played with Qbasic. Throw out a question, it can't hurt.

Sadrok
03-01-02, 01:39 PM
Originally posted by Easto
Throw out a question, it can't hurt.

Well it depends on how hard you throw it :p

XSeaNX
03-05-02, 07:52 PM
/me throws a question at easto and /he cries

make a program that allows you to type in your age and figure out if you can drive with a for next loop and if/then/else statements

:D

I did this one already and I would like to see if anyone here can do it...not hard at all either....just a poll really

Norm
03-05-02, 08:37 PM
How's this ? It's been about 20 years :)

b=100
for x = 1 to b
input a "How old are you?"
if a > 16 then print "You can drive, but no drinking"
if a < 16 then print "You are a wanna be driver, remove the keys from the ignition please"
if a = 16 then print "You got lucky punk, drive like there's no tommorow"
b=b+1
nextx

Pretty sloppy eh?

Rainbow
03-09-02, 08:27 PM
Norm...............-1 point for forgettin the line numbers:rotfl:

Sadrok
03-10-02, 06:40 AM
yeah, norm, how could you!?

Maliy
03-14-02, 05:18 PM
if we are talking about qbasic no line numbers are needed. In regular gw basic you need a line numbers. Fairly easy language, I am taking cobol now, and thats a pain in da a$$.

Norm
03-15-02, 12:52 PM
Hey, I left out the line numbers because I thought you newbs wouldn't know of such "old" ways, and line numbers would confuse you. :D

In fact I used a version of basic long before the Qbasic or GWBasic were ever thought about.
It may have been the very first version of Basic ever, I'm not sure. I think (if I remember correctly, it was Basic1.0) It was built in to my first PC on a 2K ROM chip. Later updated to Extended Basic (another 2K ROM chip) that added a few more commands to access/read/write to a floppy drive.
Back then there was no copy/paste or GUI. Everything was done from the command line, even "load"ing a file.

Rainbow
03-15-02, 07:12 PM
Did they have cars back then???:rotfl:

p2ii
04-04-02, 02:22 PM
I worked in basic in elementary school in the very early 80's on a sweet vic20 with dual tape drive no less!Don't remember much except it was a pain because everything had to be put in line by line - ie;no copy etc....

kieofwoo
04-24-02, 07:37 AM
vic20 - yeah baby! :cool:
I remember that sweet machine with it's 4k of ram. Only had a single tape drive myself though, and basic, ugh, trying to debug 100 lines of that stuff was torture