/declare index int local
/declare var1 local
/declare var2 local
/declare var3 local
/varset var1 Name1
/varset var2 Name2
/varset var3 Name3
/for index 1 to 3 [1]
/echo ${var${index}}
/next index
Just an example of what I wanted to do. Basically have a set list of names or what not and return/output those names one by one in a loop.
That code works, just wondering if there was an easier way cause if you had a long list then it would suck having to declare and set all the vars.

