<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; VBS: Вывести по 5 элементов из массива]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=12576</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=12576&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «VBS: Вывести по 5 элементов из массива».]]></description>
		<lastBuildDate>Thu, 30 Mar 2017 08:53:58 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: VBS: Вывести по 5 элементов из массива]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=114393#p114393</link>
			<description><![CDATA[<p>Да, так намного понятней.</p>]]></description>
			<author><![CDATA[null@example.com (929151)]]></author>
			<pubDate>Thu, 30 Mar 2017 08:53:58 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=114393#p114393</guid>
		</item>
		<item>
			<title><![CDATA[Re: VBS: Вывести по 5 элементов из массива]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=114390#p114390</link>
			<description><![CDATA[<p><strong>929151</strong><br />Пож-та. Кстати, если заинтересует, можно выхватывать строки из текста группой без конкатенации:<br /></p><div class="codebox"><pre><code>DivNum = 5  &#039; делящее число строк

With New RegExp
	.Global = True : .Pattern = &quot;([^\r]+(\r|$)){1,&quot; &amp; DivNum &amp; &quot;}&quot;
	Set Matches = .Execute(Join(DataList.ToArray, vbCr))
End With
For i = 0 To Matches.Count - 1
	MsgBox Matches(i)
Next</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Flasher)]]></author>
			<pubDate>Thu, 30 Mar 2017 00:31:54 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=114390#p114390</guid>
		</item>
		<item>
			<title><![CDATA[Re: VBS: Вывести по 5 элементов из массива]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=114389#p114389</link>
			<description><![CDATA[<p>Спасибо! Вы всегда очень выручаете!</p>]]></description>
			<author><![CDATA[null@example.com (929151)]]></author>
			<pubDate>Wed, 29 Mar 2017 23:54:07 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=114389#p114389</guid>
		</item>
		<item>
			<title><![CDATA[Re: VBS: Вывести по 5 элементов из массива]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=114388#p114388</link>
			<description><![CDATA[<p>Поправил.</p>]]></description>
			<author><![CDATA[null@example.com (Flasher)]]></author>
			<pubDate>Wed, 29 Mar 2017 23:34:03 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=114388#p114388</guid>
		</item>
		<item>
			<title><![CDATA[Re: VBS: Вывести по 5 элементов из массива]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=114387#p114387</link>
			<description><![CDATA[<p>Спасибо.<br />Можно чтобы оставшиеся (11, 12) тоже выводились?</p>]]></description>
			<author><![CDATA[null@example.com (929151)]]></author>
			<pubDate>Wed, 29 Mar 2017 23:19:21 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=114387#p114387</guid>
		</item>
		<item>
			<title><![CDATA[Re: VBS: Вывести по 5 элементов из массива]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=114386#p114386</link>
			<description><![CDATA[<div class="codebox"><pre><code>For Each Item In DataList
	n = n + 1 :	S = S &amp; vbCr &amp; Item
	If n/5 = CInt(n/5) Or n = DataList.Count Then MsgBox Mid(S, 2) : S = &quot;&quot;
Next</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Flasher)]]></author>
			<pubDate>Wed, 29 Mar 2017 23:08:59 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=114386#p114386</guid>
		</item>
		<item>
			<title><![CDATA[VBS: Вывести по 5 элементов из массива]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=114384#p114384</link>
			<description><![CDATA[<p>Подскажите, как такое реализовать.<br />Необходимо выводить последовательно по 5 элементов из массива.<br /></p><div class="codebox"><pre><code>
Set DataList = CreateObject(&quot;System.Collections.ArrayList&quot;)
DataList.Add &quot;1&quot;
DataList.Add &quot;2&quot;
DataList.Add &quot;3&quot;
DataList.Add &quot;4&quot;
DataList.Add &quot;5&quot;
DataList.Add &quot;6&quot;
DataList.Add &quot;7&quot;
DataList.Add &quot;8&quot;
DataList.Add &quot;9&quot;
DataList.Add &quot;10&quot;
DataList.Add &quot;11&quot;
DataList.Add &quot;12&quot;

Wscript.echo join(DataList.ToArray(), vbCrLf)</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (929151)]]></author>
			<pubDate>Wed, 29 Mar 2017 22:48:28 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=114384#p114384</guid>
		</item>
	</channel>
</rss>
