<?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>
        BE,&lt;br&gt;&lt;br&gt;1. Thanks for the investigation. Yes, the Read_Variables module was actually created BEFORE arrays were even possible within RR (its an old module) so it would default to creating a string. We could update that but I fear that we might break many existing RR configurations that have been written to expect a string. Perhaps we may add an option in that interface to select string or array which would solve the issue for new configurations. &lt;br&gt;&lt;br&gt;Thus using a GetStrVariable and a Split would achieve the same array effect.&lt;br&gt;&lt;br&gt;2. Not sure if we can replicate this issue. I&apos;ve attached a test robofile ... perhaps you can tweak it to replicate the way you are using it? &lt;br&gt;&lt;br&gt;Ideally, just use the GetVariable function once and save a copy of the array into another variable before changing the first ... &lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5862</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5862</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Ah, I discovered that there are two things causing problems...&lt;br&gt;&lt;br&gt;1) The variables in question were created using the Read_Variables module, which handles the file contents quite differently when data is in columns vs. rows.&amp;nbsp;&amp;nbsp;While the variables dialog box in the VBScript Program module showed comma separated values, all those numbers and commas were actually part of a single string.&amp;nbsp;&amp;nbsp;The VBScript variables dialog does not show variable type (integer, string, etc.) so this was not apparent until I looked at the variables with Watch Variables which does display type.&lt;br&gt;&lt;br&gt;2) Apparently you cannot use GetArrayVariable to read into the same VB variable twice in the same context.&amp;nbsp;&amp;nbsp;By splitting up my calls to GetArrayVariable into separate contexts, the problem was solved.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5862</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5862</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>Problems Using GetArrayVariable in VBScript</title>
        <description>
        I can&apos;t seem to get GetArrayVariable in a VBScript to work.&amp;nbsp;&amp;nbsp;I suppose there is some Dim or ReDim required, but I&apos;m not sure.&amp;nbsp;&amp;nbsp;Refer to the attached screen shot of the VBScript module dialog box.&amp;nbsp;&amp;nbsp;The user variable Pad1 is cearly an array as shown in the &quot;Available Variables&quot; list box, but I can&apos;t get it to be read into a VBScript array.&lt;br&gt;&lt;br&gt;The isArray function says the variable junk is an array, but ubound returns -1 and any attempt to access an element of junk gives an error.&lt;p&gt;&lt;br&gt;&lt;a target=_blank href=&quot;http://www.roborealm.com/uploads/29067_1.png&quot;&gt;&lt;img border=1 src=&quot;http://www.roborealm.com/uploads/29067_thumb_1.jpg&quot;&gt;&lt;/a&gt;&amp;nbsp;&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=5862</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=5862</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
