<?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: For-To-Next is ignoring subroutine object in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/For-To-Next-is-ignoring-subroutine-object/m-p/339356#M1837</link>
    <description>&lt;P&gt;I will strip down my script and I will share it.&lt;/P&gt;</description>
    <pubDate>Wed, 25 May 2022 05:11:14 GMT</pubDate>
    <dc:creator>jc4d</dc:creator>
    <dc:date>2022-05-25T05:11:14Z</dc:date>
    <item>
      <title>For-To-Next is ignoring subroutine object</title>
      <link>https://community.graphisoft.com/t5/GDL/For-To-Next-is-ignoring-subroutine-object/m-p/339284#M1831</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have set a subroutine with a custom 3d object which it shows as it should in 3D, the problem starts when I use a For_To_Next operation, the 3D object disappears totally.&lt;/P&gt;&lt;P&gt;If I use a more simple object the For_To_next works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Calling the subroutine alone it works:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jc4d_0-1653395718163.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/21816i01016ABC783D68B3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jc4d_0-1653395718163.png" alt="jc4d_0-1653395718163.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When For_To_Next is enable, nothing shows:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jc4d_1-1653395798689.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/21817i3FBA1D7C7A311E2E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jc4d_1-1653395798689.png" alt="jc4d_1-1653395798689.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I use exactly the same For_To_Next with a simple block object, it works:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jc4d_2-1653395881269.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/21818iBC9D6CA3DFBFA702/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jc4d_2-1653395881269.png" alt="jc4d_2-1653395881269.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm clueless about what is happening.&lt;/P&gt;&lt;P&gt;Juan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 12:38:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/For-To-Next-is-ignoring-subroutine-object/m-p/339284#M1831</guid>
      <dc:creator>jc4d</dc:creator>
      <dc:date>2022-05-24T12:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: For-To-Next is ignoring subroutine object</title>
      <link>https://community.graphisoft.com/t5/GDL/For-To-Next-is-ignoring-subroutine-object/m-p/339291#M1832</link>
      <description>&lt;P&gt;Try to use &lt;SPAN&gt;quotation marks&lt;/SPAN&gt;&amp;nbsp;for the subroutine id ("400"). This is just a wild guess.&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 13:21:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/For-To-Next-is-ignoring-subroutine-object/m-p/339291#M1832</guid>
      <dc:creator>Miha_M</dc:creator>
      <dc:date>2022-05-24T13:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: For-To-Next is ignoring subroutine object</title>
      <link>https://community.graphisoft.com/t5/GDL/For-To-Next-is-ignoring-subroutine-object/m-p/339297#M1833</link>
      <description>&lt;P&gt;The answer is probably in the subroutine itself.&lt;/P&gt;&lt;P&gt;What happens, if you put the block in a routine?.... Divide and Conquer!&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 14:48:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/For-To-Next-is-ignoring-subroutine-object/m-p/339297#M1833</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2022-05-24T14:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: For-To-Next is ignoring subroutine object</title>
      <link>https://community.graphisoft.com/t5/GDL/For-To-Next-is-ignoring-subroutine-object/m-p/339304#M1834</link>
      <description>&lt;P&gt;If you post the whole script it would be easy to know what's happening.&lt;/P&gt;&lt;P&gt;But the first comment is likely the solution.&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 16:36:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/For-To-Next-is-ignoring-subroutine-object/m-p/339304#M1834</guid>
      <dc:creator>SenecaDesignLLC</dc:creator>
      <dc:date>2022-05-24T16:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: For-To-Next is ignoring subroutine object</title>
      <link>https://community.graphisoft.com/t5/GDL/For-To-Next-is-ignoring-subroutine-object/m-p/339305#M1835</link>
      <description>&lt;P&gt;`gosub 400` (which is totally valid!) and `gosub "400"` are different things, tho.&lt;/P&gt;&lt;P&gt;And what makes this unlikely is that the single `gosub 400` outside the loop works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As mentioned, without the whole script everybody is blind.&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 17:13:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/For-To-Next-is-ignoring-subroutine-object/m-p/339305#M1835</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2022-05-24T17:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: For-To-Next is ignoring subroutine object</title>
      <link>https://community.graphisoft.com/t5/GDL/For-To-Next-is-ignoring-subroutine-object/m-p/339342#M1836</link>
      <description>&lt;P&gt;I just tried by putting the BLOCK in a subroutine and that worked fine.&lt;/P&gt;
&lt;P&gt;So I would suspect something in the 400 subroutine.&lt;/P&gt;
&lt;P&gt;Did you forget the RETURN maybe?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 03:13:45 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/For-To-Next-is-ignoring-subroutine-object/m-p/339342#M1836</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2022-05-25T03:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: For-To-Next is ignoring subroutine object</title>
      <link>https://community.graphisoft.com/t5/GDL/For-To-Next-is-ignoring-subroutine-object/m-p/339356#M1837</link>
      <description>&lt;P&gt;I will strip down my script and I will share it.&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 05:11:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/For-To-Next-is-ignoring-subroutine-object/m-p/339356#M1837</guid>
      <dc:creator>jc4d</dc:creator>
      <dc:date>2022-05-25T05:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: For-To-Next is ignoring subroutine object</title>
      <link>https://community.graphisoft.com/t5/GDL/For-To-Next-is-ignoring-subroutine-object/m-p/339357#M1838</link>
      <description>&lt;P&gt;Thanks, I double checked and there is a return statment.&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 05:11:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/For-To-Next-is-ignoring-subroutine-object/m-p/339357#M1838</guid>
      <dc:creator>jc4d</dc:creator>
      <dc:date>2022-05-25T05:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: For-To-Next is ignoring subroutine object</title>
      <link>https://community.graphisoft.com/t5/GDL/For-To-Next-is-ignoring-subroutine-object/m-p/339358#M1839</link>
      <description>&lt;P&gt;Will do, didn't think about it.&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2022 05:12:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/For-To-Next-is-ignoring-subroutine-object/m-p/339358#M1839</guid>
      <dc:creator>jc4d</dc:creator>
      <dc:date>2022-05-25T05:12:42Z</dc:date>
    </item>
  </channel>
</rss>

