<?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 Re: Access values by their indexes in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Access-values-by-their-indexes/m-p/356671#M1257</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With VALUES{2}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;VALUES{2}"list" 1,"door",2,"windows", 3,"floors"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture d’écran.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/30023i947B3B34FCA17F3F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture d’écran.png" alt="Capture d’écran.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Sep 2022 12:17:02 GMT</pubDate>
    <dc:creator>Yves</dc:creator>
    <dc:date>2022-09-21T12:17:02Z</dc:date>
    <item>
      <title>Access values by their indexes</title>
      <link>https://community.graphisoft.com/t5/GDL/Access-values-by-their-indexes/m-p/356668#M1256</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let's say that on the parameter tab I have this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;VALUES "list" "door", "windows", "floors"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;which shows like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jc4d_0-1663754610840.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/30022iA8E145D82B7F8B39/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jc4d_0-1663754610840.png" alt="jc4d_0-1663754610840.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now, what I would like to know if there is a way to access to those values by their index, and not by writting the value's names, eg:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;if list = index_value_here then
	do something
endif&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it makes sense.&lt;/P&gt;
&lt;P&gt;Juan&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 20:41:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Access-values-by-their-indexes/m-p/356668#M1256</guid>
      <dc:creator>jc4d</dc:creator>
      <dc:date>2022-09-26T20:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: Access values by their indexes</title>
      <link>https://community.graphisoft.com/t5/GDL/Access-values-by-their-indexes/m-p/356671#M1257</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With VALUES{2}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;VALUES{2}"list" 1,"door",2,"windows", 3,"floors"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture d’écran.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/30023i947B3B34FCA17F3F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture d’écran.png" alt="Capture d’écran.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 12:17:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Access-values-by-their-indexes/m-p/356671#M1257</guid>
      <dc:creator>Yves</dc:creator>
      <dc:date>2022-09-21T12:17:02Z</dc:date>
    </item>
  </channel>
</rss>

