Calling a variable in another variable

echo "$previous_tmp$i"

I have a 5 variables like
previous1
previous2
previous3
previous4
previous5

I want to use a for loop to call them one by one.
How can I ?:confused:

for v in `set | grep "^previous"`; do var=${v%%=*} ; val=${v#*=} ; echo $v $var $val; done

Im relatively new to programming ,so what u told me went right over my head.

Look at what Im trying to achieve here :
http://www.unix.com/shell-programming-scripting/202591-syntax-issue.html\#post302710979

Please help !