BASIC Computer Language Turns 40
5 REM nam37 codes
10 PRINT "In 1963 two Dartmouth College math professors had a radical"
20 PRINT "idea - create a computer language muscular enough to harness"
30 PRINT "the power of the period's computers, yet simple enough that even"
40 PRINT "the school's janitors could use it."
50 END
10 PRINT "In 1963 two Dartmouth College math professors had a radical"
20 PRINT "idea - create a computer language muscular enough to harness"
30 PRINT "the power of the period's computers, yet simple enough that even"
40 PRINT "the school's janitors could use it."
50 END
GOTO 10
Creationists are a lot like zombies. Slow, but powerful and numerous. And they all want to eat our brains.
Obliteracy: Words with explosions
Obviously they failed, and so they created BASIC instead.
... BASIC's much acclaimed successor, Visual Basic ;-)
My operat~1 system unders~1 long filena~1 , does yours?
yet simple enough that even the school's janitors could use it
And that, children, is where the seeds of garbage collection were sowed.
-Adam
10 PRINT "I hearby declare..."
20 PRINT "that all comments in this story"
30 PRINT "be typed in basic"
40 END
"Learning BASIC causes permanent brain damage." -- E.Dijkstra
Kaa
Kaa's Law: In any sufficiently large group of people most are idiots.
ILLEGAL FUNCTION CALL
Ok, who remembers the Star Trek game from Dartmouth? You know, the one where you got to enter coordinates to move the ship to, then fire photons and phasers at Klingons? You could even consult the library computer! Failing that, who remembers coding the "trench" game?
| * |
| * |
| * |
| * |
|* |
| |
| |
*BOOM* YOU CRASHED. TRY AGAIN? [Y/N]
Javascript + Nintendo DSi = DSiCade
10 PRINT "Concived: 1963"
20 PRINT "Born: 1964"
30 END
That is because array indexes start at 1 instead of zero. So it's really 41 years if you start from year one.
http://github.com/gbook/nidb
10 ? "CmdrTaco and Kathleen stting in a tree K-I-S-S-I-N-G";
15 ? CHR$(7)
20 goto 10
/* oops I accidentally made a comment, sorry */
10 PRINT "Happy Birthday to you"
11 PRINT "Happy Birthday to you"
12 PRINT "Happy Birthday dear BASIC"
13 END
Dammit... Missed out a line. Now I remember why I should always increment line numbers by 10.
10 PRINT "Concived: 1963"
20 PRINT "Born: 1964"
30 END
25 PRINT "Spell checked: Never"
RUN
Syntax Error "PROFIT!"
-------------------^
Command Not Found "PROFIT"
The living have better things to do than to continue hating the dead.
And lo, thousands of people suddenly decided to call themselves excellent programmers!
45 IF $ARTICLE="BASIC" GOSUB 60 //e IN APPLE BASIC! I COULD MAKE BAD GRAPHICS AND ASCII ART ALL DAY WITH MY 80 COLUMN EXPANSION CARD!"
60 PRINT "COOL! I USED TO PROGRAM ON MY APPLE
70 GOTO 50
CVS
free ipod and free gmail!
Don't forget to PEEK before you POKE!
I didn't know you could insert hyperlinks into BASIC programs... Guess I missed that last update. =P
At first I was considering having my sig in BASIC:
10 PRINT "Jorkapp is a Programmer"
20 GOTO 10
but it was too - Basic. IMO, my sig in C is more 1337.
Frink: Nice try floyd, but you were designed for scrubbing, and scrubbing is what you shall do.
This one used to tie people up for a few minutes...
10 PRINT "You are in a cave."
20 PRINT "Go N, S, E OR W?"
30 INPUT A$
40 GOTO 10
Haiku in English is dumb
Add last line next time
You insensitive clod!
Proverbs 21:19
I was one of four students in a pilot program in 4th grade (1980) wherein we learned BASIC programming (Apple II) and "New Math" (don't even get me started.)
After learning the basics, I started my first project - a random text generator. I wanted to see if, left to its own devices, the Apple II would eventually reproduce the works of Shakespeare. Or at least, produce a few dirty words on its own.
I spent two days coding (never having used a keyboard before, typing was arduous)
The program went like this:
10 A=INT(RND(1)*30) +1
20 REM
30 IF A=1 THEN $B="A"
40 IF A=2 THEN $B="B"
...
340 IF A=30 THEN $B="."
350 PRINT $B;
360 GOTO 10
If I recall, there was no "copy" or "paste" function in the boot ROM AppleII BASIC. Typing this was hell on my 9-year-old fingers.
The good news is, the program worked. The bad news is, after I'd finished it, the teacher showed me how to cut 29 lines out of my program using the $CHR() function. I wanted to shoot him.
All in all, BASIC served me well. It's a great intro programming language for pre-teens.
The cure for cancer is coming: Reovirus
I've never understood why you use a for loop for something like that and not a "while (1)". Can someone clue me in?
while(1) sounds like the Queen talking.