<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Запись масива в INI файл]]></title>
		<link>http://forum.script-coding.com/viewtopic.php?id=7392</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=7392&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Запись масива в INI файл».]]></description>
		<lastBuildDate>Thu, 26 Jul 2012 08:03:04 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Запись масива в INI файл]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=62041#p62041</link>
			<description><![CDATA[<p>Спасибо <strong>Irbis</strong>!<br />Вы отчасти предупредили мой вопрос о слиянии двух строк внутри цикла...у меня ни как это не получалось. Все ни как не могу сложить у себя в мозгах принципы синтаксиса в АНК.</p>]]></description>
			<author><![CDATA[null@example.com (Mikki)]]></author>
			<pubDate>Thu, 26 Jul 2012 08:03:04 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=62041#p62041</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Запись масива в INI файл]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=62021#p62021</link>
			<description><![CDATA[<p>Возможно,если&nbsp; кто-то и озадачивался таким вопросом, то скорее всего тоже писал самостоятельное решение. А скрипт из первого поста работать как задумано и не будет, потому что в %arrayOFindex% содержится не список элементов, а лишь указатель на первый элемент.<br />(И <strong><em>MsgBox, %arrayOFindex%</em></strong> выведет пустое сообщение, так что IniWrite все &#039;&#039;честно&#039;&#039; выполнила&nbsp; <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /> )</p><p>Второй вариант с переводом в текстовую строку вполне нормален, потом на чтение еще один цикл <strong><span style="color: blue">Loop, Parse, IndexList, `,</span></strong>&nbsp; - ну это и так понятно.<br />Без переменой <strong>dd</strong> можно вполне обойтись, ну это уж мой &quot;бзик&quot; - всё и вся оптимизировать <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /><br /></p><div class="codebox"><pre><code>        indexList := indexList indexA[A_Index] &quot;,&quot;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Irbis)]]></author>
			<pubDate>Wed, 25 Jul 2012 13:28:27 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=62021#p62021</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Запись масива в INI файл]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=62019#p62019</link>
			<description><![CDATA[<p>Я часом не пытаюсь &quot;изобрести колесо&quot;?</p><div class="codebox"><pre><code>indexA := [0x2206,0x2126,0x03b1,0x03b2,0x03b3,0x03b4,0x03b5,0x03b6,0x03b7,0x03b8,0x03b9
,0x03ba,0x03bc,0x03bd,0x03be,0x03bf,0x03c0,0x03c1,0x03c2,0x03c3,0x03c4,0x03c5,0x03c6,0x03c7,0x03c8,0x03c9
,0x007e,0x221e,0x00b0,0x00b1,0x2264,0x2260,0x2248,0x2265,0x2219,0x00d7,0x00f7,0x2215,0x2026,0x2212]

IniName := A_ScriptDir &quot;\&quot; RegExReplace(A_ScriptName, &quot;(.*)\..*&quot;, &quot;$1&quot;) &quot;.ini&quot;

	SetFormat IntegerFast, H
	Loop % indexA.MaxIndex() 
	{
		dd := indexA[A_Index]
		indexList = %indexList%%dd%,
	}
	IniWrite, %indexList%, % IniName, Settings, indexList
Return</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Mikki)]]></author>
			<pubDate>Wed, 25 Jul 2012 13:11:05 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=62019#p62019</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Запись масива в INI файл]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=62014#p62014</link>
			<description><![CDATA[<div class="codebox"><pre><code>arrayOFindex := [0x2206,0x2126,0x03b1,0x03b2,0x03b3,0x03b4,0x03b5,0x03b6,0x03b7,0x03b8,0x03b9]

IniName := A_ScriptDir &quot;\&quot; RegExReplace(A_ScriptName, &quot;(.*)\..*&quot;, &quot;$1&quot;) &quot;.ini&quot;
IniWrite, %arrayOFindex%, % IniName, Settings, indexList</code></pre></div><p>Не пишет значения массива в файл.</p>]]></description>
			<author><![CDATA[null@example.com (Mikki)]]></author>
			<pubDate>Wed, 25 Jul 2012 11:01:32 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=62014#p62014</guid>
		</item>
	</channel>
</rss>
