I have several stored matrices named like: DATA01 DATA02 DATA03 DATA04 DATA05... DATA20
I'd like to load and process them one at a time in a loop and I'd like to do this all in IML -- no macro code.
In pseudocode it would look like:
DO i = 1 TO 20; *** might have to do two loops, one for 01-09 and another for 10-20;
LOAD DATAi;
PRINT "SUM = " (DATA0i[+]); *** a simple calc;
END;
I've got the matrix names stored in an array but I don't know how to evaluate the array elements in the loop so they resolve to DATA01, etc.
Any tips & suggestions are appreciated.