<?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 GDL, Zone Label in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Zone-Label/m-p/125753#M12984</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Am I missing something or do I have something wrong with my eyes, but why the first line is okay but the second is not:&lt;BR /&gt;

&lt;PRE&gt;text2 0, 0, ROOM_NUMBER + ", " + ROOM_NAME
text2 0, 1, ROOM_AREA + " m2"&lt;/PRE&gt;

Code is part of zone label 2D script.&lt;BR /&gt;
The 1st line shows up in project plan "01, Living Room", for example, while the 2nd line creates an error in GDL editing window when I check the code. If I cut the line with '!' after 'ROOM_AREA', then it'll be fine. &lt;BR /&gt;
&lt;BR /&gt;
Thanks!&lt;/R&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 24 May 2023 09:45:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-05-24T09:45:14Z</dc:date>
    <item>
      <title>GDL, Zone Label</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Zone-Label/m-p/125753#M12984</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Am I missing something or do I have something wrong with my eyes, but why the first line is okay but the second is not:&lt;BR /&gt;

&lt;PRE&gt;text2 0, 0, ROOM_NUMBER + ", " + ROOM_NAME
text2 0, 1, ROOM_AREA + " m2"&lt;/PRE&gt;

Code is part of zone label 2D script.&lt;BR /&gt;
The 1st line shows up in project plan "01, Living Room", for example, while the 2nd line creates an error in GDL editing window when I check the code. If I cut the line with '!' after 'ROOM_AREA', then it'll be fine. &lt;BR /&gt;
&lt;BR /&gt;
Thanks!&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 May 2023 09:45:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-Zone-Label/m-p/125753#M12984</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-24T09:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: GDL, Zone Label</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Zone-Label/m-p/125754#M12985</link>
      <description>You cannot combine a number with a string.&lt;BR /&gt;
If ROOM_AREA is a number, you must convert it into a String,&lt;BR /&gt;
e.g. by STR(ROOM_AREA,3,2) or similar.</description>
      <pubDate>Mon, 20 Jan 2014 11:59:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-Zone-Label/m-p/125754#M12985</guid>
      <dc:creator>Jochen Suehlo</dc:creator>
      <dc:date>2014-01-20T11:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: GDL, Zone Label</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Zone-Label/m-p/125755#M12986</link>
      <description>&lt;BLOCKQUOTE&gt;Joachim wrote:&lt;BR /&gt;You cannot combine a number with a string.&lt;/BLOCKQUOTE&gt;

But isn't that the case at first line, too? I combined there:&lt;BR /&gt;
  the ROOM_NUMBER (I think its type is numerical, or...?) &lt;BR /&gt;
     +&lt;BR /&gt;
  comma inside quotation marks (that's string)&lt;BR /&gt;
     +&lt;BR /&gt;
  ROOM_NAME (its type is string, I guess)&lt;BR /&gt;
&lt;BR /&gt;
So if the ROOM_NUMBER is string, then it's my mistake.</description>
      <pubDate>Mon, 20 Jan 2014 12:13:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-Zone-Label/m-p/125755#M12986</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-20T12:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: GDL, Zone Label</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Zone-Label/m-p/125756#M12987</link>
      <description>Despite the variable name, ROOM_NUMBER is a string. ROOM_AREA is a calculated number that you need to convert to a string.</description>
      <pubDate>Mon, 20 Jan 2014 13:42:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-Zone-Label/m-p/125756#M12987</guid>
      <dc:creator>Erich</dc:creator>
      <dc:date>2014-01-20T13:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: GDL, Zone Label</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Zone-Label/m-p/125757#M12988</link>
      <description>All right, that's clear! Thank you both for quick response!</description>
      <pubDate>Mon, 20 Jan 2014 14:19:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-Zone-Label/m-p/125757#M12988</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-20T14:19:47Z</dc:date>
    </item>
  </channel>
</rss>

