General Question

mirza's avatar

Whats the first line of code that you ever wrote?

Asked by mirza (5057points) September 11th, 2007

mine was “me.close” in visual basics

Observing members: 0 Composing members: 0

20 Answers

kevbo's avatar

10 ?“HELLO”
20 GOTO 10

andrew's avatar

Something in Applesoft BASIC.

20 GOTO 10

Perchik's avatar

first line of code ever ” <html> ”
first line of a real language ” cout<<“Hello, World!”<<endl;

glial's avatar

Something like the others:

10 ECHO “Hello”
10 GOTO 10

TruMobius's avatar

first line would have been something like

#include print.lib;

klaas4's avatar

Private Sub Form_Click()
End Sub

Visual Basic 6

klaas4's avatar

That was really newbie-ish.

b's avatar

Something in the line of..
10 Begin
20 Print “Hello world”
30 End

Vincentt's avatar

I really have no idea… :P

How come you guys all still remember?

Perchik's avatar

I think most of us know what our first language was and the first thing you learn in most languages is how to print something to the screen.

b's avatar

Well, I would say because we are some serious nerds here.

kelly's avatar

I don’t think there was even a screen that us peons could use; maybe there were screens at the compiling lab? Fortran of 1967 used a typewriter thing that punched cards and printed what was on the card on the top edge. We prayed as we walked across campus on a rainy or humid day that the cards didn’t absorb moisture, for if they did, they would not feed into the “monster” and no printout would result. I remember wrapping the cards in Saran wrap and aluminum foil to protect our 100 line programs. Ah, a dim memory…...

zpok's avatar



phred78's avatar

Definitely <html> and some basic Pascal stuff I learned at school. But I never really finished that course :o)

bpeoples's avatar

I really don’t remember, since I was 4 and it was a Commodore 64.

Probably something like

10 PRINT “News from my house”

along with updates on the health and well being of my various stuffed animals, and some complaints about how it’s raining so I can’t go swing.

segdeha's avatar

On my TI/99–4A (which booted instantly into BASIC when you turned it on), I first wrote (probably):

print "Hello"

My first line of JavaScript (the language that has most fueled my career), my first line (of non-cut-and-paste code) was (again, probably):


Daethian's avatar

html code count?? lol I don’t actually remember anyway

Fred931's avatar


Lupin's avatar

1 FORMAT (I, I3)
(1969 Fortran on the IBM 360/50)

HungryGuy's avatar


Answer this question




to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
Knowledge Networking @ Fluther