Recall value of a variable whose name contains another variable

i have a variable that is an array:
%classes% = class1,class2,class3
then i have another variable that gets named in a for block (iterating over the elements of the array)
%Variable%classes[i]%_link
So, these variables end up being
class1_link, class2_link, class3_link.

How do I recall the value of these variables?
I tried
%%Variable%classes[i]%_link%
and also
%Variable%%Variable%classes[i]%_link%%
Neither one works.

It would help to have some context. Can you post your macro?

You need to use the Filter action as described here:

1 Like