<?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 ERROR MESSAGE IN SCRIPTING in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/ERROR-MESSAGE-IN-SCRIPTING/m-p/60149#M33478</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;I HAVE BEEN GETTING A COMMON ERROR MESSAGE WHEN CHECKING SCRIPT  &lt;BR /&gt;
&lt;BR /&gt;
SEEMS TO BE A THE POINT OF USING A IF THEN ELSE STATEMENT &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;&lt;BR /&gt;
&lt;B&gt;' USE OF REAL TYPES CAN RESULT IN PRECISION PROBLEMS AT LINE XX OF FILE XXXXXX'&lt;/B&gt;&lt;E&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;BR /&gt;
I THINK I HAVE ONLY HAD THIS MESSAGE SINCE MOVING TO AC 9&lt;/R&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 15 Aug 2006 07:23:48 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2006-08-15T07:23:48Z</dc:date>
    <item>
      <title>ERROR MESSAGE IN SCRIPTING</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/ERROR-MESSAGE-IN-SCRIPTING/m-p/60149#M33478</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;I HAVE BEEN GETTING A COMMON ERROR MESSAGE WHEN CHECKING SCRIPT  &lt;BR /&gt;
&lt;BR /&gt;
SEEMS TO BE A THE POINT OF USING A IF THEN ELSE STATEMENT &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;&lt;BR /&gt;
&lt;B&gt;' USE OF REAL TYPES CAN RESULT IN PRECISION PROBLEMS AT LINE XX OF FILE XXXXXX'&lt;/B&gt;&lt;E&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;BR /&gt;
I THINK I HAVE ONLY HAD THIS MESSAGE SINCE MOVING TO AC 9&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 15 Aug 2006 07:23:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/ERROR-MESSAGE-IN-SCRIPTING/m-p/60149#M33478</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-08-15T07:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR MESSAGE IN SCRIPTING</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/ERROR-MESSAGE-IN-SCRIPTING/m-p/60150#M33479</link>
      <description>This annoying message started appearing somewhere between 8.0 and 8.1 as I recall. It is alerting you to a potential problem. The trouble is that it usually is not an actual problem.&lt;BR /&gt;
&lt;BR /&gt;
The warning is generated when you use a conditional statement (IF, WHILE, REPEAT) with a precise value for a real number as the condition. Such as:&lt;BR /&gt;
&lt;BR /&gt;
IF x = 0 THEN...&lt;BR /&gt;
&lt;BR /&gt;
rather than:&lt;BR /&gt;
&lt;BR /&gt;
IF x &amp;gt; -0.0001 AND x &amp;lt; 0.0001...&lt;BR /&gt;
&lt;BR /&gt;
As I understand it the actual problems arise when "x" is the result of a calculation, since rounding errors can produce very small inaccuracies which will prevent it from exactly equalling the desired value even though it should.&lt;BR /&gt;
&lt;BR /&gt;
The trouble is that I (and many others I am sure) often use a named parameter as the condition with a VALUES statement to limit it to the precise values used in the conditional statements. This precludes any actual errors but still generates the pesky warning.&lt;BR /&gt;
&lt;BR /&gt;
BTW, turn off your caps lock. It's not polite to shout &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/E&gt;</description>
      <pubDate>Tue, 15 Aug 2006 07:50:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/ERROR-MESSAGE-IN-SCRIPTING/m-p/60150#M33479</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-08-15T07:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR MESSAGE IN SCRIPTING</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/ERROR-MESSAGE-IN-SCRIPTING/m-p/60151#M33480</link>
      <description>Have a look to this thread:&lt;BR /&gt;
&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?p=61641&amp;amp;highlight=integer+type#61641" target="_blank"&gt;Use of real types&lt;/A&gt;&lt;BR /&gt;
and this:&lt;BR /&gt;
&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?t=7864" target="_blank"&gt;Use of real types can result in precision problems&lt;/A&gt;</description>
      <pubDate>Tue, 15 Aug 2006 08:37:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/ERROR-MESSAGE-IN-SCRIPTING/m-p/60151#M33480</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2006-08-15T08:37:33Z</dc:date>
    </item>
  </channel>
</rss>

