<?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 0 or 1 for first value in a DIM [array] ? in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/0-or-1-for-first-value-in-a-DIM-array/m-p/64334#M39030</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Often when scripting geometric parts, loops start from 0 and go through to 1 (or 'X'). It is 'frustrating' (and untidy) to have to use a [i &lt;B&gt;+1&lt;/B&gt;] throughout the code.&lt;BR /&gt;
&lt;BR /&gt;
If GDL pretends to be a geometrical scripting language then allowing basic mathematics would be a nice touch.&lt;BR /&gt;
&lt;BR /&gt;
Note - my personal 'recommendation' would be just for a small extension of the existing coding, thus&lt;BR /&gt;
DIM A[8] would allow A[0], A[1], A[2] ... A[8]&lt;BR /&gt;
- which would not interfere with legacy code -and- make me happy in the future!&lt;BR /&gt;
&lt;BR /&gt;
- Stuart&lt;BR /&gt;
&lt;BR /&gt;
&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;PS. Yeah - I know this is a pretty small wish - but surely it would be easier to implement??&lt;E&gt;&lt;/E&gt;&lt;/R&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 19 Nov 2004 15:30:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2004-11-19T15:30:19Z</dc:date>
    <item>
      <title>0 or 1 for first value in a DIM [array] ?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/0-or-1-for-first-value-in-a-DIM-array/m-p/64334#M39030</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Often when scripting geometric parts, loops start from 0 and go through to 1 (or 'X'). It is 'frustrating' (and untidy) to have to use a [i &lt;B&gt;+1&lt;/B&gt;] throughout the code.&lt;BR /&gt;
&lt;BR /&gt;
If GDL pretends to be a geometrical scripting language then allowing basic mathematics would be a nice touch.&lt;BR /&gt;
&lt;BR /&gt;
Note - my personal 'recommendation' would be just for a small extension of the existing coding, thus&lt;BR /&gt;
DIM A[8] would allow A[0], A[1], A[2] ... A[8]&lt;BR /&gt;
- which would not interfere with legacy code -and- make me happy in the future!&lt;BR /&gt;
&lt;BR /&gt;
- Stuart&lt;BR /&gt;
&lt;BR /&gt;
&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;PS. Yeah - I know this is a pretty small wish - but surely it would be easier to implement??&lt;E&gt;&lt;/E&gt;&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 19 Nov 2004 15:30:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/0-or-1-for-first-value-in-a-DIM-array/m-p/64334#M39030</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-11-19T15:30:19Z</dc:date>
    </item>
  </channel>
</rss>

