<?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: Dynamic variables in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Dynamic-variables/m-p/58655#M39673</link>
    <description>I think all you need is a counter of sorts in your loop. &lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?t=806&amp;amp;start=0" target="_blank"&gt;It's discussed here.&lt;/A&gt;</description>
    <pubDate>Wed, 10 Nov 2004 23:10:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2004-11-10T23:10:37Z</dc:date>
    <item>
      <title>Dynamic variables</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Dynamic-variables/m-p/58654#M39672</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;i am trying to make hotspots that are editable, and use a unique ID tag.  i am wanting this tag to be dynamic so the unique ID is HOTSPOT&amp;lt;int i&amp;gt;&lt;BR /&gt;
&lt;BR /&gt;
for example:&lt;BR /&gt;
&lt;BR /&gt;
WHILE i&amp;lt;10 DO&lt;BR /&gt;
Text2 0,i &amp;lt;prints `HOTSPOT`i&amp;gt;&lt;BR /&gt;
i=i+1&lt;BR /&gt;
endwhile&lt;BR /&gt;
&lt;BR /&gt;
which would produce the following text:&lt;BR /&gt;
&lt;BR /&gt;
HOTSPOT10&lt;BR /&gt;
HOTSPOT9&lt;BR /&gt;
...&lt;BR /&gt;
HOTSPOT2&lt;BR /&gt;
HOTSPOT1&lt;BR /&gt;
&lt;BR /&gt;
i was thinking i could join the string "HOTSPOT" with INT i.  i have done something like this in other languages however am not sure if it can be done with GDL.  I used a TEXT2 example.  however i am looking for a way to take the string that TEXT2 would have displayed and use it an the unique ID for a hotspot.&lt;BR /&gt;
&lt;BR /&gt;
thank you.&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 10 Nov 2004 22:20:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Dynamic-variables/m-p/58654#M39672</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-11-10T22:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic variables</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Dynamic-variables/m-p/58655#M39673</link>
      <description>I think all you need is a counter of sorts in your loop. &lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?t=806&amp;amp;start=0" target="_blank"&gt;It's discussed here.&lt;/A&gt;</description>
      <pubDate>Wed, 10 Nov 2004 23:10:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Dynamic-variables/m-p/58655#M39673</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-11-10T23:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic variables</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Dynamic-variables/m-p/58656#M39674</link>
      <description>Thank you very much!  that helps alot.</description>
      <pubDate>Thu, 11 Nov 2004 20:25:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Dynamic-variables/m-p/58656#M39674</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-11-11T20:25:31Z</dc:date>
    </item>
  </channel>
</rss>

