<?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: Two Separate Next Statements in one Rule in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/two-separate-next-statements-in-one-rule/m-p/11591012#M145915</link>
    <description>&lt;P&gt;I am not sure what you are trying to accomplish with this.&amp;nbsp; "Next" is a keyword in VB.NET (&lt;A href="https://learn.microsoft.com/en-us/dotnet/visual-basic/language-reference/statements/for-next-statement" target="_blank" rel="noopener"&gt;Link1&lt;/A&gt;, &lt;A href="https://learn.microsoft.com/en-us/dotnet/visual-basic/language-reference/statements/for-each-next-statement" target="_blank" rel="noopener"&gt;Link2&lt;/A&gt;), which is used at the end of a loop, such as (For Each Item In Items...do something with Item...Next), or (For i As Integer = 1 to 10...do something...Next).&amp;nbsp; That keyword is used to cause the process to return to the start of the loop, and advance to process the next item in the collection, or next Integer in a count.&amp;nbsp; Maybe you are meaning to use '&lt;A href="https://learn.microsoft.com/en-us/dotnet/visual-basic/language-reference/statements/goto-statement" target="_blank" rel="noopener"&gt;GoTo&lt;/A&gt;' there, such as If something evaluates to True, GoTo MyCodeBookmark1 (where MyCodeBookmark1 represents a position somewhere in your code that you want it to jump to.&lt;/P&gt;</description>
    <pubDate>Thu, 01 Dec 2022 15:45:43 GMT</pubDate>
    <dc:creator>WCrihfield</dc:creator>
    <dc:date>2022-12-01T15:45:43Z</dc:date>
    <item>
      <title>Two Separate Next Statements in one Rule</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/two-separate-next-statements-in-one-rule/m-p/11590915#M145909</link>
      <description>&lt;P&gt;I am newer to ilogic&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but can someone post a simple example of have two next statements in a rule&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If A=b then&lt;/P&gt;&lt;P&gt;&amp;nbsp;Next Statement A&lt;/P&gt;&lt;P&gt;Else if A=c&lt;/P&gt;&lt;P&gt;Next Statement B&lt;/P&gt;&lt;P&gt;End if&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not sure how to isolate next statements&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 15:04:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/two-separate-next-statements-in-one-rule/m-p/11590915#M145909</guid>
      <dc:creator>AMN3161</dc:creator>
      <dc:date>2022-12-01T15:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Two Separate Next Statements in one Rule</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/two-separate-next-statements-in-one-rule/m-p/11591012#M145915</link>
      <description>&lt;P&gt;I am not sure what you are trying to accomplish with this.&amp;nbsp; "Next" is a keyword in VB.NET (&lt;A href="https://learn.microsoft.com/en-us/dotnet/visual-basic/language-reference/statements/for-next-statement" target="_blank" rel="noopener"&gt;Link1&lt;/A&gt;, &lt;A href="https://learn.microsoft.com/en-us/dotnet/visual-basic/language-reference/statements/for-each-next-statement" target="_blank" rel="noopener"&gt;Link2&lt;/A&gt;), which is used at the end of a loop, such as (For Each Item In Items...do something with Item...Next), or (For i As Integer = 1 to 10...do something...Next).&amp;nbsp; That keyword is used to cause the process to return to the start of the loop, and advance to process the next item in the collection, or next Integer in a count.&amp;nbsp; Maybe you are meaning to use '&lt;A href="https://learn.microsoft.com/en-us/dotnet/visual-basic/language-reference/statements/goto-statement" target="_blank" rel="noopener"&gt;GoTo&lt;/A&gt;' there, such as If something evaluates to True, GoTo MyCodeBookmark1 (where MyCodeBookmark1 represents a position somewhere in your code that you want it to jump to.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 15:45:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/two-separate-next-statements-in-one-rule/m-p/11591012#M145915</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2022-12-01T15:45:43Z</dc:date>
    </item>
  </channel>
</rss>

