<?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>
        Typo in you target_list = GetStrVariable(&quot;targe&lt;b&gt;r&amp;lt;.b&amp;gt;_list&quot;) &lt;br&gt;&lt;br&gt;it should be target_list = GetStrVariable(&quot;target_list&quot;)         </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3114</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3114</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Thanks for the averaging suggestion. I think that I mostly figured out the problem of adding integers to the end of a string.&lt;br&gt;&lt;br&gt;-----&lt;br&gt;x_position = GetVariable(&quot;MOUSE_CLICK_X&quot;)&lt;br&gt;y_position = GetVariable(&quot;MOUSE_CLICK_Y&quot;)&lt;br&gt;target_list = GetStrVariable(&quot;targer_list&quot;)&lt;br&gt;&lt;br&gt;target_list = target_list &amp; &quot;,&quot; &amp; x_position &amp; &quot;,&quot; &amp; y_position&lt;br&gt;&lt;br&gt;SetVariable&quot;target&quot;, target&lt;br&gt;SetVariable&quot;target_list&quot;, target_list&lt;br&gt;-----&lt;br&gt;&lt;br&gt;Now, a problem occurs. It is supposed to add another pair of numbers to the string next time it loops through the pipeline, but it does not. Instead of adding the numbers to the end of the string, it starts from an empty string, overwriting the previous string contents.&lt;br&gt;&lt;br&gt;Can anyone figure it out?        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3114</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3114</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        I guess I am not answering your question directly, but here is some vbscript that calcuates the average of 10 cog_x values and stores them in the variable average. &lt;br&gt;&lt;br&gt;Total = GetVariable(&quot;Total&quot;)&lt;br&gt;cog_x = GetVariable(&quot;COG_X&quot;)&lt;br&gt;Run = GetVariable(&quot;Run&quot;)&lt;br&gt;&lt;br&gt;Run = Run + 1&lt;br&gt;Total = Total + cog_x&lt;br&gt;if Run &amp;gt; 9 then&lt;br&gt;&amp;nbsp;&amp;nbsp;Average = int(Total / Run)&lt;br&gt;&amp;nbsp;&amp;nbsp;Run = 0 &lt;br&gt;&amp;nbsp;&amp;nbsp;Total = 0&lt;br&gt;&amp;nbsp;&amp;nbsp;SetVariable(&quot;Average&quot;),Average&lt;br&gt;end if&lt;br&gt;&lt;br&gt;SetVariable(&quot;Total&quot;),Total&lt;br&gt;SetVariable(&quot;Run&quot;),Run&lt;br&gt;&lt;br&gt;Hope this helps        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3114</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3114</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>VBScript, integers into strings</title>
        <description>
        Assuming this to be a VBScript question, but I cannot seem to find the solution on the net.&lt;br&gt;&lt;br&gt;Is there a way of adding an integer to the end of the string? Then, I can add another integer to that same string and build up a few values before processing them. e.g. accumulating a few COG_Xs prior to averaging them.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3114</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3114</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
