<?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: GDL - Combining Strings and and Text Array in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/GDL-Combining-Strings-and-and-Text-Array/m-p/375579#M1748</link>
    <description>&lt;P&gt;Did you maybe mix datatypes inside the array? An array in GDL can either hold integers, floats, or strings, but mixing is disallowed.&lt;/P&gt;</description>
    <pubDate>Wed, 05 Apr 2023 08:51:35 GMT</pubDate>
    <dc:creator>runxel</dc:creator>
    <dc:date>2023-04-05T08:51:35Z</dc:date>
    <item>
      <title>GDL - Combining Strings and and Text Array</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-Combining-Strings-and-and-Text-Array/m-p/375436#M1744</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there someway to combine the following?&amp;nbsp;sg_customName[i][2]&amp;nbsp;is a text array.&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;name = STR ("%2.0", i) + " " + sg_customName[i][2]&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have used the custom name by itself for some options and &lt;FONT face="times new roman,times"&gt;&lt;EM&gt;i&lt;/EM&gt;&lt;/FONT&gt; string for others, but I would like to add the option to prefix the custom name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ling.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 09:20:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-Combining-Strings-and-and-Text-Array/m-p/375436#M1744</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2023-04-04T09:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: GDL - Combining Strings and and Text Array</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-Combining-Strings-and-and-Text-Array/m-p/375474#M1745</link>
      <description>&lt;P&gt;I don't get it. Are you doing this in a loop with 'i' being the counter?&lt;/P&gt;
&lt;P&gt;Can't see why it shouldn't work?!&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 12:17:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-Combining-Strings-and-and-Text-Array/m-p/375474#M1745</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2023-04-04T12:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: GDL - Combining Strings and and Text Array</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-Combining-Strings-and-and-Text-Array/m-p/375478#M1746</link>
      <description>&lt;P&gt;I have come across situations like that which look correct but GDL won't handle the parts. In such situations I would break that line into some local variables and then add the variables together. It may be you only need to separate out the STR function.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2023 13:05:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-Combining-Strings-and-and-Text-Array/m-p/375478#M1746</guid>
      <dc:creator>DGSketcher</dc:creator>
      <dc:date>2023-04-04T13:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: GDL - Combining Strings and and Text Array</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-Combining-Strings-and-and-Text-Array/m-p/375531#M1747</link>
      <description>&lt;P&gt;Inserting the various parts into their own local variables does not change anything, still resulting in an&amp;nbsp;&lt;EM&gt;incompatible types&lt;/EM&gt; error when it comes to putting them together... It has to do with the array, as there is no issue when using a non-array text parameter.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 01:34:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-Combining-Strings-and-and-Text-Array/m-p/375531#M1747</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2023-04-05T01:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: GDL - Combining Strings and and Text Array</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-Combining-Strings-and-and-Text-Array/m-p/375579#M1748</link>
      <description>&lt;P&gt;Did you maybe mix datatypes inside the array? An array in GDL can either hold integers, floats, or strings, but mixing is disallowed.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 08:51:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-Combining-Strings-and-and-Text-Array/m-p/375579#M1748</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2023-04-05T08:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: GDL - Combining Strings and and Text Array</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-Combining-Strings-and-and-Text-Array/m-p/375590#M1749</link>
      <description>&lt;P&gt;The array contains two columns of text / strings...&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 09:22:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-Combining-Strings-and-and-Text-Array/m-p/375590#M1749</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2023-04-05T09:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: GDL - Combining Strings and and Text Array</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-Combining-Strings-and-and-Text-Array/m-p/375648#M1750</link>
      <description>&lt;P&gt;Is your data coming from external files? There is a known issue about the input addons, they convert number-like strings to numbers.&lt;/P&gt;
&lt;P&gt;Are your arrays, variables always initialized as strings? During script check, global variables contain dummy values and requests might not return anything, which can lead to mis-initialization if you don't handle it correctly. Variables are initialized to zero unless said otherwise. Use &lt;EM&gt;Library Developer menu &amp;gt; Check library scripts for warnings&lt;/EM&gt; to receive information about uninitialized variables.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 14:02:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-Combining-Strings-and-and-Text-Array/m-p/375648#M1750</guid>
      <dc:creator>Peter Baksa</dc:creator>
      <dc:date>2023-04-05T14:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: GDL - Combining Strings and and Text Array</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-Combining-Strings-and-and-Text-Array/m-p/375725#M1751</link>
      <description>&lt;P&gt;The object is completely internalised. The only Global used is &lt;STRONG&gt;glob_scale&lt;/STRONG&gt;.&amp;nbsp;The object can be found in this &lt;A href="https://community.graphisoft.com/t5/Document-Visualize-forum/Level-Marking-in-Section-and-Elevation-for-a-Site-with-Multiple/td-p/373933" target="_self"&gt;thread&lt;/A&gt;. The line in question above has been commented out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is that a new menu in 26? I am scripting in 22.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 01:26:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-Combining-Strings-and-and-Text-Array/m-p/375725#M1751</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2023-04-06T01:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: GDL - Combining Strings and and Text Array</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-Combining-Strings-and-and-Text-Array/m-p/376361#M1752</link>
      <description>&lt;P&gt;The menu is not new, but it has to be added manually through Work Environment &amp;gt; Menus &amp;gt; All menus in alphabetical order.&lt;/P&gt;
&lt;P&gt;In the linked object's master script this is suspicious:&lt;/P&gt;
&lt;DIV style="color: #3d3d3d; background-color: #fafafa; font-family: Consolas, 'Courier New', monospace; font-weight: normal; font-size: 12px; line-height: 16px; white-space: pre;"&gt;
&lt;DIV&gt;&lt;SPAN&gt;sg_customName_temp&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;i&lt;/SPAN&gt;&lt;SPAN&gt;][&lt;/SPAN&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;SPAN&gt; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;0&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;This is clearly not a string, and gets written back to sg_customName.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 07:40:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-Combining-Strings-and-and-Text-Array/m-p/376361#M1752</guid>
      <dc:creator>Peter Baksa</dc:creator>
      <dc:date>2023-04-12T07:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: GDL - Combining Strings and and Text Array</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-Combining-Strings-and-and-Text-Array/m-p/376367#M1753</link>
      <description>&lt;P&gt;*facepalm*&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Resizing so many arrays and having issue with some not resizing that I did not notice that... Thanks Peter.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 08:32:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-Combining-Strings-and-and-Text-Array/m-p/376367#M1753</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2023-04-12T08:32:20Z</dc:date>
    </item>
  </channel>
</rss>

