Inserting labels into a group of tables with a for loop
Posted: Mon Apr 20, 2009 9:18 am
Hi
I am inserting different labels into a group of tables with a for loop. The idea is the following (that it does not work):
table results
table(!nrows,!ncols) results
%name1="Matrix 1"
%name2="Matrix 2"
%name3="Matrix 3"
For !k=1 to 3
setcell(results, 1+!step, 1, %name{!k})
!step=!step+10
next
the problem is when using "%name{!k}" in the setcell command
Would you help me?
Thanks!
I am inserting different labels into a group of tables with a for loop. The idea is the following (that it does not work):
table results
table(!nrows,!ncols) results
%name1="Matrix 1"
%name2="Matrix 2"
%name3="Matrix 3"
For !k=1 to 3
setcell(results, 1+!step, 1, %name{!k})
!step=!step+10
next
the problem is when using "%name{!k}" in the setcell command
Would you help me?
Thanks!