Hacker News new | ask | show | jobs
by lilyball 620 days ago
By arrays you mean something like this?

  array set foo {
    a 1
    b 2
    c 3
  }
If the inability to comment out entries here is a problem, that's also something you can fix, you can write something like

  proc decomment body {
    …
  }
such that you can then write the following and it will remove commented lines:

  array set foo [decomment {
    a 1
    # b 2
    c 3
  }]