<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Evaluate a variable when you know its name in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Evaluate-a-variable-when-you-know-its-name/m-p/107063#M33150</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;There are some gdl statements that ask you to provide the name of the variable as a string. That is very usefull some times,because you can create the name of the variable at run-time by a for-next loop&lt;BR /&gt;
&lt;BR /&gt;
Now my question is. Can i get the content of a variable by providing its name? &lt;BR /&gt;
&lt;BR /&gt;
For example i a have for next loop creating the string variable1,variable2,...variableI, which are a series of global parameters (i dont want to use arrays for some reasons) Now can i get somehow the content of the variableI? &lt;BR /&gt;
I can for example say HIDEPARAMETERS "variable1"&lt;BR /&gt;
Is there a way to say smthg like EVALUATE "variable1"?&lt;BR /&gt;
&lt;BR /&gt;
(in case the answer is negative.. i think i have to add it to the wish list. Arrays are nice, but i some times you want the user to see it the usual way..)&lt;/T&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 09 Oct 2006 10:31:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2006-10-09T10:31:00Z</dc:date>
    <item>
      <title>Evaluate a variable when you know its name</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Evaluate-a-variable-when-you-know-its-name/m-p/107063#M33150</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;There are some gdl statements that ask you to provide the name of the variable as a string. That is very usefull some times,because you can create the name of the variable at run-time by a for-next loop&lt;BR /&gt;
&lt;BR /&gt;
Now my question is. Can i get the content of a variable by providing its name? &lt;BR /&gt;
&lt;BR /&gt;
For example i a have for next loop creating the string variable1,variable2,...variableI, which are a series of global parameters (i dont want to use arrays for some reasons) Now can i get somehow the content of the variableI? &lt;BR /&gt;
I can for example say HIDEPARAMETERS "variable1"&lt;BR /&gt;
Is there a way to say smthg like EVALUATE "variable1"?&lt;BR /&gt;
&lt;BR /&gt;
(in case the answer is negative.. i think i have to add it to the wish list. Arrays are nice, but i some times you want the user to see it the usual way..)&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 09 Oct 2006 10:31:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Evaluate-a-variable-when-you-know-its-name/m-p/107063#M33150</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-10-09T10:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluate a variable when you know its name</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Evaluate-a-variable-when-you-know-its-name/m-p/107064#M33151</link>
      <description>You might want to check the following GDL commands:&lt;BR /&gt;
&lt;BR /&gt;
REQUEST ("ASSOCLP_PARVALUE", expr, name_or_index, type, flags, dim1, dim2, p_values)&lt;BR /&gt;
&lt;BR /&gt;
REQUEST ("ASSOCLP_NAME", "", name)&lt;BR /&gt;
&lt;BR /&gt;
They might do something like what you want to achieve.</description>
      <pubDate>Mon, 09 Oct 2006 19:14:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Evaluate-a-variable-when-you-know-its-name/m-p/107064#M33151</guid>
      <dc:creator>Laszlo Nagy</dc:creator>
      <dc:date>2006-10-09T19:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: Evaluate a variable when you know its name</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Evaluate-a-variable-when-you-know-its-name/m-p/107065#M33152</link>
      <description>thx a lot  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt;</description>
      <pubDate>Wed, 11 Oct 2006 06:00:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Evaluate-a-variable-when-you-know-its-name/m-p/107065#M33152</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-10-11T06:00:23Z</dc:date>
    </item>
  </channel>
</rss>

