This is not really a thing yet.

^(Edit: I think it is now.)^

Hoo boy; we have all sorts of formatting options here!

10 print "goto 10";
20 hello world!
spoiler

(Personally, I liked to spell it GO TO wherever it’d let me)

  • scutiger@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Languages that used line numbers didn’t use semicolons to mark the end of a statement.

    Also, this program would just say “goto 10” and then would popup an error because “hello world!” is not a statement.

    But I’m just being silly.

    • monolalia@lemmy.worldOPM
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Jumbling up that bit of rote code was the joke! But the semicolon isn’t supposed to end the line; it tells BASIC to suppress the newline after the print statement. Makes for a better endlessly scrolling text experience ;)