To play it safe, the loop indices can be limited like this:
for h in 0..a.high:
for w in 0..a[h].high:
RunThis works no matter what size the arrays are.
To play it safe, the loop indices can be limited like this:
for h in 0..a.high:
for w in 0..a[h].high:
RunThis works no matter what size the arrays are.