<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Функции внутри Loop'a]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=15690&amp;type=atom" />
	<updated>2020-09-23T17:31:58Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=15690</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Функции внутри Loop'a]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=142280#p142280" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Clannad5 пишет:</cite><blockquote><p>Ужасно затупил.</p></blockquote></div><p> Согласен.</p><p><a href="http://www.autohotkey.com/docs/Functions.htm#Global">Global variables</a></p>]]></content>
			<author>
				<name><![CDATA[Мальчик-гей]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30832</uri>
			</author>
			<updated>2020-09-23T17:31:58Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=142280#p142280</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Функции внутри Loop'a]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=142279#p142279" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>Loop,
{
Var += 1
Func()
Sleep, 1000
}



Func()
{
Msgbox, % var
}
Return</code></pre></div><p>Это не работает, Функция не вызывается.<br />Вопрос..<br />&nbsp; &nbsp; есть ли какие-нибудь альтернативы, чтобы функция обязательно срабатывала?</p><p><span style="color: #333333">UPD:<br />Ужасно затупил. Нашел команду Gosub.<br />Вопрос решен.<br />Извиняюсь.</span></p>]]></content>
			<author>
				<name><![CDATA[Clannad5]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39853</uri>
			</author>
			<updated>2020-09-23T16:13:36Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=142279#p142279</id>
		</entry>
</feed>
