This works, however I'm looking forward to see what others come up with.

let rows = @[@[2, 4, 1], @[2, 0, 2], @[1, 1, 2], @[0, 0, 0]]

for index in rows[0].low .. rows[0].high:
    var column: seq[int]

for row in rows:
    column.add(row[index])

echo("column = ", column)

Reply via email to