The earliest I can recall for sure was a simple drawing program on an early Apple in BASIC. You used the arrow keys to move, the space bar to toggle from "draw" to "move", and the number keys to change the color.

I had some sort of earlier computer too, I think it was a Sinclair something (??) and I know I wrote some programs on that, but the only thing I can remember is that you actually stored your files on a regular audio tape, with a normal tape player, by audio and microphone extension jacks. You could actually listen to your programs (resembled the well-known "modem connect" noise, but had a distinct difference).

After a while, I managed to write one of those adventure games as well. I don't know how I managed to do all that string parsing ("DROP THE BOX", "KILL TROLL", "LIGHT THE LANTERN") and everything else involved in a language other than Perl. Where was Larry? :) So much spaghetti produced for so little output.


In reply to RE: What was your first program? by turnstep
in thread What was your first program? by Ovid

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.