<?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: Infinite loops detection in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Infinite-loops-detection/m-p/222425#M8835</link>
    <description>Yes, I think you should make this into a wish.</description>
    <pubDate>Thu, 08 Oct 2015 12:48:15 GMT</pubDate>
    <dc:creator>Laszlo Nagy</dc:creator>
    <dc:date>2015-10-08T12:48:15Z</dc:date>
    <item>
      <title>Infinite loops detection</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Infinite-loops-detection/m-p/222424#M8834</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi!&lt;BR /&gt;
it would be great if Archicad could detect when an object is stuck in an infinite loop and would avoid interpreting it.&lt;BR /&gt;
This causes crashes and is especially very annoying when the object is spread over the whole office when working in teamwork. &lt;BR /&gt;
If you append to sync the library with a bad object it will be copied on every local copy when "send&amp;amp;receive" is pressed by client and is a pain to fix and causes some data loss.&lt;BR /&gt;
&lt;BR /&gt;
Would that be possible in the future?&lt;BR /&gt;
maybe I should make it a poll.&lt;BR /&gt;
&lt;BR /&gt;
/olivier&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 08 Oct 2015 07:10:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Infinite-loops-detection/m-p/222424#M8834</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-08T07:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Infinite loops detection</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Infinite-loops-detection/m-p/222425#M8835</link>
      <description>Yes, I think you should make this into a wish.</description>
      <pubDate>Thu, 08 Oct 2015 12:48:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Infinite-loops-detection/m-p/222425#M8835</guid>
      <dc:creator>Laszlo Nagy</dc:creator>
      <dc:date>2015-10-08T12:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: Infinite loops detection</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Infinite-loops-detection/m-p/222426#M8836</link>
      <description>Hi.&lt;BR /&gt;
&lt;BR /&gt;
Just add a very high counter inside the loop so that if you create an infinite loop by accident, it'll stop after a certain amount of iterations.&lt;BR /&gt;
&lt;BR /&gt;
Something like:&lt;BR /&gt;

&lt;PRE&gt;thisLoopCounter = 1

REPEAT

     thisLoopCounter = thisLoopCounter + 1

     the code inside the loop

UNTIL yourConditionIsTrue or thisLoopCounter &amp;gt; 10000&lt;/PRE&gt;

Easy to locate and fix. Hard to create the habit.&lt;BR /&gt;
&lt;BR /&gt;
Best regards.</description>
      <pubDate>Thu, 08 Oct 2015 17:10:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Infinite-loops-detection/m-p/222426#M8836</guid>
      <dc:creator>sinceV6</dc:creator>
      <dc:date>2015-10-08T17:10:51Z</dc:date>
    </item>
  </channel>
</rss>

