02-12-2014 11:42 PM
I have a scenario where i need to use the values of an array to be variable list for another array.
array test(3) $ ('one', 'two', 'three');
do i=1 to 3;
array test1(*) test(i)0 - test(i)100;
In the above code snippet, i would like to do something like replacing test(i) with value one so the array definition for test1 would look like, array test1(*) one0-one100 for the first iteration of do loop; and for the second iteration of do loop array definition should look like, array test1(*) two0-two100 and so forth.
Is this possible? or is there any other way to tackle such scenario efficiently?
02-13-2014 06:43 AM
How about a 2 diminsonal array?