<?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 Script Length in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Script-Length/m-p/89645#M37005</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I have created a couple of super window parts and the script that corresponds to the part is quite lengthy. I have put all the window sizes and grilles, colors etc. in the script. The script checks out OK but when I use the part it doesn't always work. I have tried breaking it up into sub routines, but it still has problems. I guess my question is: Does the length of the script affect how a part works? Or where in a script a statement is made?  Thanks.&lt;BR /&gt;
&lt;BR /&gt;
Barry Halloran&lt;/T&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 24 May 2023 10:10:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-05-24T10:10:38Z</dc:date>
    <item>
      <title>Script Length</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Script-Length/m-p/89645#M37005</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I have created a couple of super window parts and the script that corresponds to the part is quite lengthy. I have put all the window sizes and grilles, colors etc. in the script. The script checks out OK but when I use the part it doesn't always work. I have tried breaking it up into sub routines, but it still has problems. I guess my question is: Does the length of the script affect how a part works? Or where in a script a statement is made?  Thanks.&lt;BR /&gt;
&lt;BR /&gt;
Barry Halloran&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 May 2023 10:10:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Script-Length/m-p/89645#M37005</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-24T10:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Script Length</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Script-Length/m-p/89646#M37006</link>
      <description>I know you can't have more than 8 variables in an if statement.  I had to cut some of mine in half.  No doubt there are other maximums.</description>
      <pubDate>Sat, 28 May 2005 13:24:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Script-Length/m-p/89646#M37006</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-05-28T13:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Script Length</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Script-Length/m-p/89647#M37007</link>
      <description>I have written some objects with about 2.500 lines total and &amp;gt;500kB without implemented picts. And they work fine. I don't think there's a reachable limit of script length.&lt;BR /&gt;
&lt;BR /&gt;
@Barry:
&lt;PRE&gt;if a&amp;lt;5 and b&amp;lt;7 and c=0 and d=0 and e&amp;lt;15 and f&amp;gt;-2 and g&amp;gt;-8 and h&amp;gt;-15 and i&amp;lt;25 then print "it works"
&lt;/PRE&gt;
works fine. I don't know about limitations in the if .. then statement.</description>
      <pubDate>Tue, 31 May 2005 09:11:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Script-Length/m-p/89647#M37007</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2005-05-31T09:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: Script Length</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Script-Length/m-p/89648#M37008</link>
      <description>There are limitations in the length of lines. It's about 240 characters max. Maybe this is a problem.</description>
      <pubDate>Tue, 31 May 2005 09:13:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Script-Length/m-p/89648#M37008</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2005-05-31T09:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Script Length</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Script-Length/m-p/89649#M37009</link>
      <description>&lt;BLOCKQUOTE&gt;F. wrote:&lt;BR /&gt;I don't know about limitations in the if .. then statement.&lt;/BLOCKQUOTE&gt;

I confirm. No limits for "if ... then" statements.&lt;BR /&gt;
Max length line is 255 characters, including spaces. &lt;BR /&gt;
GS recommends max 120 for lines, and 31 for file names.&lt;BR /&gt;
The number of parameters is limited to 512.  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_wink.gif" style="display : inline;" /&gt;</description>
      <pubDate>Tue, 31 May 2005 10:35:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Script-Length/m-p/89649#M37009</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-05-31T10:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Script Length</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Script-Length/m-p/89650#M37010</link>
      <description>&lt;BLOCKQUOTE&gt;The number of parameters is limited to 512&lt;/BLOCKQUOTE&gt;

AC 8.x+ 512 parameters&lt;BR /&gt;
AC 7  128 parameters (AFAIR)&lt;BR /&gt;
AC 6.x 64 parameters (AFAIR)&lt;BR /&gt;
&lt;BR /&gt;
This are the silent improvements in GDL. I have had some trouble with a few objects in AC 6, because I needed more than 64 parameters. But there was a trick to use Arrays as storage and a couple of multiple used normal parameters to push the values by an user interface and the parameter script into the arrays.</description>
      <pubDate>Tue, 31 May 2005 11:00:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Script-Length/m-p/89650#M37010</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2005-05-31T11:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Script Length</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Script-Length/m-p/89651#M37011</link>
      <description>&lt;BLOCKQUOTE&gt;F. wrote:&lt;BR /&gt;This are the silent improvements in GDL. I have had some trouble with a few objects in AC 6, because I needed more than 64 parameters. But there was a trick to use Arrays as storage and a couple of multiple used normal parameters to push the values by an user interface and the parameter script into the arrays.&lt;/BLOCKQUOTE&gt;

Workarounds, always workarounds. &lt;BR /&gt;
With the time, we have learned how to become Masters in workarounds.  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; &lt;BR /&gt;

&lt;BLOCKQUOTE&gt;F. wrote:&lt;BR /&gt;The number of parameters is limited to 512&lt;/BLOCKQUOTE&gt;

I must admit i didn't try to test this limit. &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_wink.gif" style="display : inline;" /&gt;</description>
      <pubDate>Tue, 31 May 2005 11:45:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Script-Length/m-p/89651#M37011</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-05-31T11:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Script Length</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Script-Length/m-p/89652#M37012</link>
      <description>&lt;BLOCKQUOTE&gt;With the time, we have learned how to become Masters in workarounds.&lt;/BLOCKQUOTE&gt; ... and how to make impossible things work. &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt;</description>
      <pubDate>Tue, 31 May 2005 11:55:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Script-Length/m-p/89652#M37012</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2005-05-31T11:55:06Z</dc:date>
    </item>
  </channel>
</rss>

