<?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: Run out of parameters - help, please in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Run-out-of-parameters-help-please/m-p/109273#M36320</link>
    <description>&lt;BLOCKQUOTE&gt;MikeS wrote:&lt;BR /&gt;AHA! GOT IT!&lt;BR /&gt;
The new UN_INFIELD{2} doesn't require parentheses around the parameter name!&lt;BR /&gt;
Obvious when you think about it(??)&lt;BR /&gt;
My thanks go to F Beister, who made me THINK about what I was doing!!&lt;/BLOCKQUOTE&gt;

One of the great benefits of this (apart from being able to use arrays) is that you can build &lt;B&gt;Spreadsheet style&lt;/B&gt; interfaces in the UI - I am even thinking of making a SuDoku puzzle solver with this GDL command.</description>
    <pubDate>Wed, 22 Jun 2005 23:34:14 GMT</pubDate>
    <dc:creator>david nicholson-cole</dc:creator>
    <dc:date>2005-06-22T23:34:14Z</dc:date>
    <item>
      <title>Run out of parameters - help, please</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Run-out-of-parameters-help-please/m-p/109269#M36316</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I have run out of available parameters.&lt;BR /&gt;
&lt;BR /&gt;
In an effort to get round this GDL limitation I have tried using a parameter as a simple array, with four possble values, thereby using one parameter instaed of four!!&lt;BR /&gt;
&lt;BR /&gt;
My problem is that these values are, ideally, boolean (checkboxes), and I cannot get them to appear via the Interface script, no matter what I do. I don't need any associated pictures in the interface, and the checkboxes are 'independent' inasmuchas none affects another, and the result I want is not appropriate for drop-down boxes etc. I also want to avoid the need for the user to have to enter a value, if at all possible.&lt;BR /&gt;
&lt;BR /&gt;
I understand the process (I think):&lt;BR /&gt;
UI_INFIELD "checkbox[1]" 100,100,14,14&lt;BR /&gt;
UI_INFIELD "checkbox[2]" 100,116,14,14&lt;BR /&gt;
... and so on.&lt;BR /&gt;
&lt;BR /&gt;
I've tried a loop, thus:&lt;BR /&gt;
FOR j = 1 TO 4&lt;BR /&gt;
param="checkbox["+Str(j,1,0)+"]"&lt;BR /&gt;
UI_INFIELD param 100,84+j*16,14,14 &lt;BR /&gt;
NEXT j&lt;BR /&gt;
&lt;BR /&gt;
Neither works.&lt;BR /&gt;
&lt;BR /&gt;
Am I on a Fool's Errand, or does someone really knowledgeable and helpful know how to overcome this little difficulty?&lt;BR /&gt;
&lt;BR /&gt;
BTW: it is not possible for me to re-engineer the object - I didn't originate the scripts, and I don't have full acces to all the associated Macros.&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 22 Jun 2005 17:59:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Run-out-of-parameters-help-please/m-p/109269#M36316</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-06-22T17:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: Run out of parameters - help, please</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Run-out-of-parameters-help-please/m-p/109270#M36317</link>
      <description>Does&lt;BR /&gt;
&lt;BR /&gt;
UI_INFIELD "checkbox[1]" 100,100,14,14 &lt;BR /&gt;
&lt;BR /&gt;
work? I have no manual by the hand (tomorrow in the office) to proof, but AFAIR you have to use the new infield-command UI_INFIELD{2}.</description>
      <pubDate>Wed, 22 Jun 2005 18:51:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Run-out-of-parameters-help-please/m-p/109270#M36317</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2005-06-22T18:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Run out of parameters - help, please</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Run-out-of-parameters-help-please/m-p/109271#M36318</link>
      <description>UI_INFIELD "checkbox[1]" 100,100,14,14 doesn't work, but if I use&lt;BR /&gt;
UI_INFIELD{2} "checkbox[1]" 100,100,14,14 I get an error indicating that there is a parameter missing, or some such!!&lt;BR /&gt;
&lt;BR /&gt;
Can you advise by giving a simple example of how to get this new command to work? The example in the ArchiCAD GDL Help doen't give working examples of this command!</description>
      <pubDate>Wed, 22 Jun 2005 21:34:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Run-out-of-parameters-help-please/m-p/109271#M36318</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-06-22T21:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Run out of parameters - help, please</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Run-out-of-parameters-help-please/m-p/109272#M36319</link>
      <description>AHA! GOT IT!&lt;BR /&gt;
&lt;BR /&gt;
The new UN_INFIELD{2} doesn't require parentheses around the parameter name!&lt;BR /&gt;
&lt;BR /&gt;
Obvious when you think about it(??)&lt;BR /&gt;
&lt;BR /&gt;
My thanks go to F Beister, who made me THINK about what I was doing!!</description>
      <pubDate>Wed, 22 Jun 2005 23:08:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Run-out-of-parameters-help-please/m-p/109272#M36319</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-06-22T23:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Run out of parameters - help, please</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Run-out-of-parameters-help-please/m-p/109273#M36320</link>
      <description>&lt;BLOCKQUOTE&gt;MikeS wrote:&lt;BR /&gt;AHA! GOT IT!&lt;BR /&gt;
The new UN_INFIELD{2} doesn't require parentheses around the parameter name!&lt;BR /&gt;
Obvious when you think about it(??)&lt;BR /&gt;
My thanks go to F Beister, who made me THINK about what I was doing!!&lt;/BLOCKQUOTE&gt;

One of the great benefits of this (apart from being able to use arrays) is that you can build &lt;B&gt;Spreadsheet style&lt;/B&gt; interfaces in the UI - I am even thinking of making a SuDoku puzzle solver with this GDL command.</description>
      <pubDate>Wed, 22 Jun 2005 23:34:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Run-out-of-parameters-help-please/m-p/109273#M36320</guid>
      <dc:creator>david nicholson-cole</dc:creator>
      <dc:date>2005-06-22T23:34:14Z</dc:date>
    </item>
  </channel>
</rss>

