<?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: Using a variable as a placeholder for greater/less than in iLogic in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/using-a-variable-as-a-placeholder-for-greater-less-than-in/m-p/8089946#M85776</link>
    <description>&lt;P&gt;I mean a variable that would take the place of the "&amp;gt;" or "&amp;lt;" in a comparison.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jun 2018 16:07:53 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-06-25T16:07:53Z</dc:date>
    <item>
      <title>Using a variable as a placeholder for greater/less than in iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/using-a-variable-as-a-placeholder-for-greater-less-than-in/m-p/8089819#M85773</link>
      <description>&lt;P&gt;Is it possible to have a variable contain the logical operator "&amp;gt;" or "&amp;lt;" to pass through a function?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jun 2018 15:18:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/using-a-variable-as-a-placeholder-for-greater-less-than-in/m-p/8089819#M85773</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-25T15:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Using a variable as a placeholder for greater/less than in iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/using-a-variable-as-a-placeholder-for-greater-less-than-in/m-p/8089900#M85774</link>
      <description>&lt;P&gt;I don't believe so as the variable would be a string and fail in the boolean conversion..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jun 2018 15:46:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/using-a-variable-as-a-placeholder-for-greater-less-than-in/m-p/8089900#M85774</guid>
      <dc:creator>mcgyvr</dc:creator>
      <dc:date>2018-06-25T15:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using a variable as a placeholder for greater/less than in iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/using-a-variable-as-a-placeholder-for-greater-less-than-in/m-p/8089941#M85775</link>
      <description>&lt;P&gt;Hi! I am sorry I am not sure I follow the request. Could you show an example of a variable containing logical operator? Isn't it an expression?&lt;/P&gt;
&lt;P&gt;Many thanks!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jun 2018 16:03:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/using-a-variable-as-a-placeholder-for-greater-less-than-in/m-p/8089941#M85775</guid>
      <dc:creator>johnsonshiue</dc:creator>
      <dc:date>2018-06-25T16:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using a variable as a placeholder for greater/less than in iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/using-a-variable-as-a-placeholder-for-greater-less-than-in/m-p/8089946#M85776</link>
      <description>&lt;P&gt;I mean a variable that would take the place of the "&amp;gt;" or "&amp;lt;" in a comparison.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jun 2018 16:07:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/using-a-variable-as-a-placeholder-for-greater-less-than-in/m-p/8089946#M85776</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-25T16:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using a variable as a placeholder for greater/less than in iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/using-a-variable-as-a-placeholder-for-greater-less-than-in/m-p/8089967#M85777</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I mean a variable that would take the place of the "&amp;gt;" or "&amp;lt;" in a comparison.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I assumed you wanted to do something like this..&lt;/P&gt;
&lt;PRE&gt;myNumber = InputBox("Enter a Number", "iLogic", "25")

mygator = "&amp;lt;"
If (24 &amp;amp; mygator &amp;amp; myNumber) 
	MessageBox.Show("greater than 24", "iLogic")
Else
MessageBox.Show("less than 24", "iLogic")
End If&lt;/PRE&gt;</description>
      <pubDate>Mon, 25 Jun 2018 16:19:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/using-a-variable-as-a-placeholder-for-greater-less-than-in/m-p/8089967#M85777</guid>
      <dc:creator>mcgyvr</dc:creator>
      <dc:date>2018-06-25T16:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using a variable as a placeholder for greater/less than in iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/using-a-variable-as-a-placeholder-for-greater-less-than-in/m-p/8090213#M85790</link>
      <description>&lt;P&gt;Yes, something like that. That text results in a "conversion from string" error when I try to run it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a function that includes an IF statement where it would be helpful to change the comparison operators between &amp;lt;, &amp;gt;, and = when the function gets called.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm getting around it right now by writing out all of the IF cases within a case-select structure and passing a numerical variable to jump straight to the right IF case.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jun 2018 17:42:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/using-a-variable-as-a-placeholder-for-greater-less-than-in/m-p/8090213#M85790</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-25T17:42:05Z</dc:date>
    </item>
  </channel>
</rss>

