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

you are viewing a single comment's thread
view the rest of the comments
[–] 6 points 1 year ago (6 children)

BASIC uses (used?) it to declare variables. (I don't know if earlier languages did.)

Not that that's a reason for other languages to copy it.

  • source
  • parent
  • hideshow 6 child comments
  • [–] [S] 8 points 1 year ago* (5 children)

    Doesn't Basic use Dim a As String?

  • source
  • parent
  • hideshow 5 child comments
  • [–] 10 points 1 year ago* (4 children)

    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".

  • source
  • parent
  • hideshow 4 child comments