array time_interval{4}$ 10 ('month','month3','annual','ytd');
do i=1 to 4;
%get_calcs(time_interval{i});
end;
Hi all,
In the abover code the macro get_calcs appends variables with month or whichever name you parse onto it (and it works when i send it when individually typed as month, month3 etc.). However, when I use the array it takes it to be the literal array name instead of value. How do I get arround this?
Thanks,
Sachin
p.s. I do know that this has a lot to do with the fact that macros are invoked before the rest of the code. I just want a work around preferably using arrays.