tgeneric2.nim 125 B

1234567891011121314
  1. discard """
  2. output: "abef"
  3. """
  4. import tables
  5. var x = initTable[int, string]()
  6. x[2] = "ab"
  7. x[5] = "ef"
  8. echo x[2], x[5]