Re:Ask HN: What is your first piece of code?
by madhouse on Friday December 16, 2011 @05:51AM
(#3360313)
A jumping man, in C+4 BASIC: clear screen, draw an ASCII stick figure, for loop to wait, clear screen, draw stick figure in different position, for loop to wait, goto 10.
I still know it by heart, though it was written more than two decades ago.
I still know it by heart, though it was written more than two decades ago.
## REM TYPE "IS A FLASHY PERSON" IN INVERSE VIDEO
from a listing in the little manual that came with my Atari 800XL, before I new what REM meant.
Got me started on programming way back in the mid 80s. Once I knew how to make a program exit, I was more confident of writing more code
10 PRINT <something>; 20 GOTO 10
I was hooked from that point on. Brings back memories.