<HTML>
<HEAD>
<TITLE>Setting variable variables</TITLE>
</HEAD>
<BODY>
<FONT FACE="Monaco">Is it possible to create variables from a retrieved list, such as setting the following:<BR>
<BR>
Newly retrieved list:<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;nameList = {&quot;prodNum&quot;, &quot;prodPrice&quot;}<BR>
&nbsp;&nbsp;&nbsp;&nbsp;valueList = {&quot;abc123&quot;, &quot;$49.95&quot;}<BR>
<BR>
Set two new variables based on the above strings:<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Local (nameList[1] = 1, nameList[2] = 2)<BR>
<BR>
I want to create and way of dynamically setting offsets in list so I can refer to them by name verses hard coded offset position as well as the next time I get my lists, they may have changed (ie. Reversed or more items ==&gt; nameList = {&quot;prodPice&quot;, &quot;prodNum&quot;, &quot;introDate&quot;}<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;price = valueList[prodPrice]<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;verses <BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;price = valueList[2]<BR>
<BR>
The evaluate verb doesn't work for me (either it can't or I can't figure it out). &nbsp;If this can't be done this way, is there another methodology which accomplishes what I want &#8211; dynamically determined offsets referable to by easy to understand variable names?<BR>
<BR>
Thanks,<BR>
<BR>
Matt<BR>
<BR>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR>
<BR>
</FONT>
</BODY>
</HTML>