dynamic index number for a loop in dsp page

i have passed a position/index parameter through an anchor tag from one dsp page to another.
on other dsp page i am looping over a array which is a part of json response.
i want to loop over that array but with the index that i have passed from previous page.

somewhat like
<a href="/destination.dsp?actualparam=56&position=%value $index%"

how to use the position passed as a dynamic index within a for loop here

%loop mylist[position]%