Made with KolourPaint and screenshots from Kate (with the GitHub theme).

  • @dan@upvote.au
    link
    fedilink
    9
    edit-2
    14 hours ago

    Older variants used DIM for arrays and LET for other variables. DIM was originally called that because it was setting the dimensions of the array.

    In modern BASIC variants, DIM has become a backronym: “declare in memory”.

    • tisktisk
      link
      fedilink
      English
      414 hours ago

      TIL Backronyms and cuil BASIC technicalities Much obliged all

    • @marcos@lemmy.world
      link
      fedilink
      213 hours ago

      Even older variants required both a let to declare the variable and a dim to set its size.

      I remember a REDIM command, but I really can’t remember what basic it’s from.

      • @dan@upvote.au
        link
        fedilink
        212 hours ago

        The first programming language I used was Visual Basic (both VBA in Excel, and VB3 then VB6). I think it used redim to resize arrays.