tarray3.nim 162 B

1234567891011121314
  1. discard """
  2. file: "tarray3.nim"
  3. output: "3"
  4. """
  5. # simple check for two dimensional arrays
  6. const
  7. myData = [[1,2,3], [4, 5, 6]]
  8. echo myData[0][2] #OUT 3