<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: global var]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=14891&amp;type=atom" />
	<updated>2019-07-31T17:12:39Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=14891</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: global var]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=135146#p135146" />
			<content type="html"><![CDATA[<p>Да, простое:<br /></p><div class="codebox"><pre><code>MyFunc(&quot;test&quot;)
MsgBox, % test

MyFunc(varName) {
   %varName% := 5
}</code></pre></div><p>Но переменная <em>test</em> должна существовать вне функции явно.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2019-07-31T17:12:39Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=135146#p135146</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: global var]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=135145#p135145" />
			<content type="html"><![CDATA[<p>Добрый вечер.<br />Есть вопрос по global.<br />У меня есть переменная var1, в ней находится название переменной, что я хочу сделать глобальной.<br />global %var1% не выходит. Есть решение?</p>]]></content>
			<author>
				<name><![CDATA[kangar]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39404</uri>
			</author>
			<updated>2019-07-31T16:58:51Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=135145#p135145</id>
		</entry>
</feed>
