You can combine the initialization into a single call
import seqUtils
var rows = 2
var cols = 3
var s = newSeqWith(rows, newSeq[string](cols))
for row in 0..<rows:
for col in 0..<cols:
s[row][col] = "test" & $row & $col
echo s
- Multidimesional Sequences Nimbecile
- Re: Multidimesional Sequences jlp765
