<?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: Array parameters in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Array-parameters/m-p/132887#M15382</link>
    <description>Daniel,&lt;BR /&gt;
&lt;BR /&gt;
A description of what you are trying to construct would help.&lt;BR /&gt;
&lt;BR /&gt;
If you have an array (array_C) with the following values&lt;BR /&gt;
&lt;BR /&gt;
ARRAY_C   &lt;BR /&gt;
     10&lt;BR /&gt;
     20&lt;BR /&gt;
     30&lt;BR /&gt;
     40&lt;BR /&gt;
     50&lt;BR /&gt;
&lt;BR /&gt;
and lets say A=2, B=3 If you want to pull values from the array_c&lt;BR /&gt;
&lt;BR /&gt;
FOR n=1 to A+B&lt;BR /&gt;
&lt;BR /&gt;
array_c&lt;N&gt;&lt;BR /&gt;
&lt;BR /&gt;
do something.............&lt;BR /&gt;
&lt;BR /&gt;
next n&lt;BR /&gt;
&lt;BR /&gt;
This would pull a value of "10" for the first instance of array_c[1]&lt;BR /&gt;
                and a value of "20" for the second instance of array_c[2]&lt;BR /&gt;
&lt;BR /&gt;
                 etc, etc&lt;BR /&gt;
&lt;BR /&gt;
Again, not sure what you are trying to do though.&lt;BR /&gt;
&lt;BR /&gt;
David&lt;/N&gt;</description>
    <pubDate>Thu, 22 Mar 2012 23:31:44 GMT</pubDate>
    <dc:creator>Dave Seabury</dc:creator>
    <dc:date>2012-03-22T23:31:44Z</dc:date>
    <item>
      <title>Array parameters</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Array-parameters/m-p/132886#M15381</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi all, my name is Daniel and i'm from Romania. I started creating more GDL objects, and i got a problem with array parameters, maybe you can help me. I have 3 parameters A, B and C. IF A=2; B=3 then I want that parameter C  have 2 values because A=2 and another 3 values because B=3. So I want 5 values for parameter C. I hope you will understand, i'm sorry for my english.&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 22 Mar 2012 22:21:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Array-parameters/m-p/132886#M15381</guid>
      <dc:creator>Cosminn</dc:creator>
      <dc:date>2012-03-22T22:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: Array parameters</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Array-parameters/m-p/132887#M15382</link>
      <description>Daniel,&lt;BR /&gt;
&lt;BR /&gt;
A description of what you are trying to construct would help.&lt;BR /&gt;
&lt;BR /&gt;
If you have an array (array_C) with the following values&lt;BR /&gt;
&lt;BR /&gt;
ARRAY_C   &lt;BR /&gt;
     10&lt;BR /&gt;
     20&lt;BR /&gt;
     30&lt;BR /&gt;
     40&lt;BR /&gt;
     50&lt;BR /&gt;
&lt;BR /&gt;
and lets say A=2, B=3 If you want to pull values from the array_c&lt;BR /&gt;
&lt;BR /&gt;
FOR n=1 to A+B&lt;BR /&gt;
&lt;BR /&gt;
array_c&lt;N&gt;&lt;BR /&gt;
&lt;BR /&gt;
do something.............&lt;BR /&gt;
&lt;BR /&gt;
next n&lt;BR /&gt;
&lt;BR /&gt;
This would pull a value of "10" for the first instance of array_c[1]&lt;BR /&gt;
                and a value of "20" for the second instance of array_c[2]&lt;BR /&gt;
&lt;BR /&gt;
                 etc, etc&lt;BR /&gt;
&lt;BR /&gt;
Again, not sure what you are trying to do though.&lt;BR /&gt;
&lt;BR /&gt;
David&lt;/N&gt;</description>
      <pubDate>Thu, 22 Mar 2012 23:31:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Array-parameters/m-p/132887#M15382</guid>
      <dc:creator>Dave Seabury</dc:creator>
      <dc:date>2012-03-22T23:31:44Z</dc:date>
    </item>
  </channel>
</rss>

