<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Очистка всех переменных]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=12511&amp;type=atom" />
	<updated>2017-03-01T10:25:34Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=12511</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Очистка всех переменных]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=113487#p113487" />
			<content type="html"><![CDATA[<p>Так можно все переменные удалить:<br /></p><div class="codebox"><pre><code>list_1 = 1234
list_2 = 5678
list_3 = 9012

Loop, 3
    list_%A_Index% := &quot;&quot;
MsgBox %list_1%</code></pre></div>]]></content>
			<author>
				<name><![CDATA[svoboden]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34280</uri>
			</author>
			<updated>2017-03-01T10:25:34Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=113487#p113487</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Очистка всех переменных]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=113482#p113482" />
			<content type="html"><![CDATA[<p><strong>Zohann</strong><br /></p><div class="codebox"><pre><code>n = 4
txt := RTrim(str[n], &quot;`r`n&quot;) ; ругается на str.n</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2017-03-01T08:48:31Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=113482#p113482</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Очистка всех переменных]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=113480#p113480" />
			<content type="html"><![CDATA[<p><strong>yalanne</strong><br />Вот оно как!<br />А как вставить эту переменную в функцию?<br /></p><div class="codebox"><pre><code>n = 4
txt := RTrim(str.n, &quot;`r`n&quot;) ; ругается на str.n</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Zohann]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26234</uri>
			</author>
			<updated>2017-03-01T08:32:47Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=113480#p113480</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Очистка всех переменных]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=113479#p113479" />
			<content type="html"><![CDATA[<p>StringSplit делит на псевдомассивы, можно использовать подобную функцию, она делит на реальный массив.<br />В данном случае str.4 сам удаляется:<br /></p><div class="codebox"><pre><code>String := &quot;a`tb`tc`td&quot;
str := StrSplit(String,A_Tab)
msgbox %  str.3 &quot;`n&quot; str.4

String := &quot;x`ty`tz&quot;
str := StrSplit(String,A_Tab)
msgbox %  str.3 &quot;`n&quot; str.4</code></pre></div>]]></content>
			<author>
				<name><![CDATA[yalanne]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32850</uri>
			</author>
			<updated>2017-03-01T07:49:22Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=113479#p113479</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Очистка всех переменных]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=113478#p113478" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Это я знаю, в моем случае функция не подойдет, т.к. переменные глобальные.<br />Суть такая: программа оперирует данными, которые берутся из строки Excel - считали строку - расплитили на переменные - повтыкали их в сторонней программе - перешли на следующую строку.<br />Так вот если в текущей строке какая либо ячейка пустая - то переменная будет содержать значение предыдущей строки, т.е. при пустой ячейке(1) str1 будет содержать предыдущее значение.<br /></p><div class="codebox"><pre><code>StringSplit, str, Clipboard, %A_Tab%</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Zohann]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26234</uri>
			</author>
			<updated>2017-03-01T06:23:44Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=113478#p113478</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Очистка всех переменных]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=113443#p113443" />
			<content type="html"><![CDATA[<p>Return</p>]]></content>
			<author>
				<name><![CDATA[danil.ykuem]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34685</uri>
			</author>
			<updated>2017-02-28T15:57:17Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=113443#p113443</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Очистка всех переменных]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=113432#p113432" />
			<content type="html"><![CDATA[<p>Локальные переменные в функциях автоматически очищаются после выхода из функции.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2017-02-28T11:24:10Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=113432#p113432</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Очистка всех переменных]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=113424#p113424" />
			<content type="html"><![CDATA[<p>Я так и поступаю, думал можно одной командой очистить память.</p>]]></content>
			<author>
				<name><![CDATA[Zohann]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26234</uri>
			</author>
			<updated>2017-02-28T09:51:01Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=113424#p113424</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Очистка всех переменных]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=113421#p113421" />
			<content type="html"><![CDATA[<p>Создавайте переменные в массиве и потом уничтожайте массив.<br />Либо можно получить весь список переменных, пропарсить и обнулить:<br /><a href="http://forum.script-coding.com/viewtopic.php?pid=112494#p112494">http://forum.script-coding.com/viewtopi … 94#p112494</a></p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2017-02-28T09:40:10Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=113421#p113421</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Очистка всех переменных]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=113417#p113417" />
			<content type="html"><![CDATA[<p>100 раз?</p>]]></content>
			<author>
				<name><![CDATA[Zohann]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26234</uri>
			</author>
			<updated>2017-02-28T09:28:17Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=113417#p113417</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Очистка всех переменных]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=113416#p113416" />
			<content type="html"><![CDATA[<p>Var =</p>]]></content>
			<author>
				<name><![CDATA[svoboden]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34280</uri>
			</author>
			<updated>2017-02-28T09:22:18Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=113416#p113416</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Очистка всех переменных]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=113415#p113415" />
			<content type="html"><![CDATA[<p>Собственно вопрос в заголовке.</p>]]></content>
			<author>
				<name><![CDATA[Zohann]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26234</uri>
			</author>
			<updated>2017-02-28T09:18:45Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=113415#p113415</id>
		</entry>
</feed>
