<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; VBS: Изменение размера многомерного динамического массива.]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=9390</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=9390&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «VBS: Изменение размера многомерного динамического массива.».]]></description>
		<lastBuildDate>Thu, 20 Mar 2014 17:30:32 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: VBS: Изменение размера многомерного динамического массива.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=81028#p81028</link>
			<description><![CDATA[<p>Разобрался, спасибо.</p>]]></description>
			<author><![CDATA[null@example.com (wildwolf007)]]></author>
			<pubDate>Thu, 20 Mar 2014 17:30:32 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=81028#p81028</guid>
		</item>
		<item>
			<title><![CDATA[VBS: Изменение размера многомерного динамического массива.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=81027#p81027</link>
			<description><![CDATA[<p>Не могу понять как изменить размер многомерного динамического массива?</p><div class="codebox"><pre><code>


Dim Log(),a,b

a=5
b=0

reDim preserve Log(a,b)

Log(0,0) = &quot;Процесс 0&quot; &amp;&quot;0&quot;
Log(1,0) = &quot;Процесс 1&quot; &amp;&quot;0&quot;
Log(2,0) = &quot;Процесс 2&quot; &amp;&quot;0&quot;
Log(3,0) = &quot;Процесс 3&quot; &amp;&quot;0&quot;
Log(4,0) = &quot;Процесс 4&quot; &amp;&quot;0&quot;
Log(5,0) = &quot;Процесс 5&quot; &amp;&quot;0&quot;


For a=0 to 5 step 1
    For b=0 to 0 step 1 
        MsgBox  &quot;1 Часть &quot;&amp;Log(a,b)
    Next
Next

&#039; Как увеличить размерность многомерного массива ? Здесь появляется ошибка когда увеличиваю b.
a=5
b=1
reDim preserve Log(a,b)

Log(0,1) = &quot;Процесс 0&quot; &amp;&quot;1&quot;
Log(1,1) = &quot;Процесс 1&quot; &amp;&quot;1&quot;
Log(2,1) = &quot;Процесс 2&quot; &amp;&quot;1&quot;
Log(3,1) = &quot;Процесс 3&quot; &amp;&quot;1&quot;
Log(4,1) = &quot;Процесс 4&quot; &amp;&quot;1&quot;
Log(5,1) = &quot;Процесс 5&quot; &amp;&quot;1&quot;

For a=0 to 5 step 1
    For b=0 to 1 step 1 
        MsgBox  &quot;2 Часть &quot;&amp;Log(a,b)
    Next
Next
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (wildwolf007)]]></author>
			<pubDate>Thu, 20 Mar 2014 17:15:54 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=81027#p81027</guid>
		</item>
	</channel>
</rss>
