<?xml version="1.0" encoding="ISO-8859-1" ?><rss version="2.0">
<channel>
    <title>RoboRealm Forum</title>
    <link>http://www.RoboRealm.com/</link>
    <description>The newest forum threads.</description>
    <lastBuildDate>Tue, 30 Nov 1999 00:11:00 EST</lastBuildDate>
    <language>en-us</language>
    <copyright>Copyright: (C) RoboRealm, http://www.RoboRealm.com/</copyright>
    <docs>http://www.RoboRealm.com/</docs>

    <item>
        <title>No Title</title>
        <description>
        STeven,&lt;br&gt;&lt;br&gt;Thanks...didn&apos;t realize that I needed to use GetVariable for created variables.&lt;br&gt;&lt;br&gt;if minY &amp;lt; GetVariable(&quot;Displacement&quot;) then&lt;br&gt;&lt;br&gt;Al        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5046</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5046</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Allen,&lt;br&gt;&lt;br&gt;Its probably more like:&lt;br&gt;&lt;br&gt;if GetVariable(&quot;SCRIPT_COUNT&quot;) = 0 then &lt;br&gt;SetVariable &quot;Displacement&quot;, 10000 &lt;br&gt;end if &lt;br&gt;minY = GetVariable(&quot;MIN_Y&quot;) &lt;br&gt;if minY &amp;lt; GetVariable(&quot;Displacement&quot;) then &lt;br&gt;SetVariable &quot;Displacement&quot;, minY &lt;br&gt;end if&lt;br&gt;&lt;br&gt;basically you where missing the GetVariable on the Displacement since that value would always be zero and second, if you want the minimum Y you need to initialize that to a high number first.&lt;br&gt;&lt;br&gt;STeven.&lt;br&gt;&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5046</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5046</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>Keeping Track of a Maximum Value</title>
        <description>
        I am looping a video and trying to determine the maximum displacement of an oscillating part.&amp;nbsp;&amp;nbsp;The problem I&apos;m having is that the displacement calculation just ends being the same as teh MIN_Y value.&amp;nbsp;&amp;nbsp;See VBScript below.&amp;nbsp;&amp;nbsp;I have attached the program, but not the video clip.&lt;br&gt;&lt;br&gt;if GetVariable(&quot;SCRIPT_COUNT&quot;) = 0 then&lt;br&gt;SetVariable &quot;Displacement&quot;, 0&lt;br&gt;end if&lt;br&gt;minY = GetVariable(&quot;MIN_Y&quot;)&lt;br&gt;if minY &amp;gt; Displacement then&lt;br&gt;SetVariable &quot;Displacement&quot;, minY&lt;br&gt;end if        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5046</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5046</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
