<?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>
        Try&lt;br&gt;&lt;br&gt;ReDim tmp(320*240)&lt;br&gt;Dim j&lt;br&gt;&lt;br&gt;pixels = GetPixels()&lt;br&gt;j = 0&lt;br&gt;for i = 0 to (320*240*3)-1 step 3&lt;br&gt;&amp;nbsp;&amp;nbsp;x = pixels(i)+ pixels(i+1)+ pixels(i+2)&lt;br&gt;&amp;nbsp;&amp;nbsp;tmp(j) = x/3&lt;br&gt;&amp;nbsp;&amp;nbsp;j = j + 1&lt;br&gt;Next&lt;br&gt;&lt;br&gt;Instead ... but if you want to convert to gray scale there is a module for that!&lt;br&gt;&lt;br&gt;STeven.&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5972</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5972</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>Error with VBScript</title>
        <description>
        I am getting &quot;error (3): type mismatch&quot; error in VBScript which running the VB program within RoboRealm for a very simple code. Some part of it is copied from the RoboRealm tutorials. The code is as below. If anyone can help to point out the error in coding it will help. Thanks in advance.&lt;br&gt;&lt;br&gt;Dim pixels&lt;br&gt;Dim x&lt;br&gt;Dim tmp ()&lt;br&gt;&lt;br&gt;&lt;br&gt;pixels = GetPixels()&lt;br&gt;x = 0&lt;br&gt;&lt;br&gt;&lt;br&gt;for i = 0 to (320*240*3)-1 step 3&lt;br&gt;x = pixels(i)+ pixels(i+1)+ pixels(i+2)&lt;br&gt;tmp(i) = x/3&lt;br&gt;x = 0&lt;br&gt;&lt;br&gt;Next&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5972</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5972</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
