this doesn't work and gives this error: cannot evaluate at compile time: xlen
var
xlen = 4
ylen = 3
var a: array[1..xlen, array[1..ylen, int]]
this works:
var
xlen = 4
ylen = 3
var a: array[1..4, array[1..3, int]]
how can I set up a matrix array variables without using numbers directly ?