Teddy - variable 2d arrays

Here is a simple example of what I’m trying to achieve:

!definition of variable that are arrays
let#a0 11,12,13
let#a1 21,22
let#a2 31,32,33

!definition of loop that will print to raport those arrays
loop#n 3
prt#a(#n)
endloop

Of course, this doesn’t method work, but here’s a question for you:

Is it possible to access these variables (#a0, #a1, #a2,…,#an) within a single loop with the help of one “global” variable (#a)?

I think something like this should work:

1 Like

Yes, this is solution that I was looking for. Thanks.