<?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=10250&amp;type=atom" />
	<updated>2014-12-16T18:54:19Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=10250</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Переменная в названии функции]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89479#p89479" />
			<content type="html"><![CDATA[<p><span style="color: green"><strong>S.shipilov</strong>, у нас принято ставить точки в конце предложений.</span></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2014-12-16T18:54:19Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89479#p89479</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Переменная в названии функции]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89474#p89474" />
			<content type="html"><![CDATA[<p>А для чего вообще это необходимо? как мне кажется то как раз ошибка так сказать в &quot;тех задании&quot; <br />Просто у меня в голове не складывается зачем создавать динамическое название функции выполняющей одно и тоже действие(я)</p><p>очевидно что вы желаете получить возможность посредством переменной f влиять на название функции и в последующем вызывать её, что то мне подсказывает что вы не в той части логической цепочки используете условие.</p><p>Предоставьте весь&nbsp; код или все задание так будет проще понять вас и помочь вам</p>]]></content>
			<author>
				<name><![CDATA[S.shipilov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30244</uri>
			</author>
			<updated>2014-12-16T17:52:12Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89474#p89474</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Переменная в названии функции]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89470#p89470" />
			<content type="html"><![CDATA[<p>Вызываю телепатов. <img src="//forum.script-coding.com/img/smilies/roll.png" width="15" height="15" /></p><p>Телепаты ответили, что они в отпуске.</p><p><span class="postimg"><img src="http://forum.script-coding.com/misc.php?action=pun_attachment&amp;item=915" alt="http://forum.script-coding.com/misc.php?action=pun_attachment&amp;amp;item=915" /></span></p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2014-12-16T16:30:10Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89470#p89470</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Переменная в названии функции]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89469#p89469" />
			<content type="html"><![CDATA[<p>А вы свой код запускали?<br /></p><div class="quotebox"><blockquote><p>Интерпретатор должен думать что всё нормально</p></blockquote></div><p>Ну, попробуйте обратиться к разработчикам AHK. <img src="//forum.script-coding.com/img/smilies/lol.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2014-12-16T16:27:44Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89469#p89469</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Переменная в названии функции]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89468#p89468" />
			<content type="html"><![CDATA[<p>Интерпретатор должен думать что всё нормально<br /></p><div class="codebox"><pre><code>f = Fun
%f%(){
    MsgBox
}</code></pre></div><p>Вот мне такое именно нужно, чтобы он думал что там название функции стоит.</p>]]></content>
			<author>
				<name><![CDATA[sergeiplugatyr]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30382</uri>
			</author>
			<updated>2014-12-16T16:22:12Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89468#p89468</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Переменная в названии функции]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89465#p89465" />
			<content type="html"><![CDATA[<p>А какой в этом смысл? Вы определяете неизвестно какую функцию? Что должен думать интерпретатор AHK?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2014-12-16T15:14:36Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89465#p89465</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Переменная в названии функции]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89464#p89464" />
			<content type="html"><![CDATA[<p>Я немного не про это, я хочу чтобы здесь<br /></p><div class="codebox"><pre><code>Fun(){
    MsgBox
}</code></pre></div><p>Можно было указать переменную<br /></p><div class="codebox"><pre><code>%f%(){
    MsgBox
}</code></pre></div><p>Но так не получается.</p>]]></content>
			<author>
				<name><![CDATA[sergeiplugatyr]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30382</uri>
			</author>
			<updated>2014-12-16T15:07:24Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89464#p89464</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Переменная в названии функции]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89461#p89461" />
			<content type="html"><![CDATA[<p><a href="http://ahkscript.org/docs/objects/Func.htm">Func object</a><br /></p><div class="codebox"><pre><code>f := Func(&quot;Fun&quot;)
f.()

Fun(){
    MsgBox
}</code></pre></div><p>Ну, или так:<br /></p><div class="codebox"><pre><code>f = Fun
%f%()

Fun(){
    MsgBox
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2014-12-16T14:32:36Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89461#p89461</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Переменная в названии функции]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89456#p89456" />
			<content type="html"><![CDATA[<p>Здравствуйте, мне нужна помощь. Я хочу что-бы в самом названии функции использовать переменную, в таком виде у меня ругается AHK:<br /></p><div class="codebox"><pre><code>f = Fun
%f%()

%f%(){
    MsgBox
}</code></pre></div><p>Код не сложный, надеюсь поможете <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" />.</p>]]></content>
			<author>
				<name><![CDATA[sergeiplugatyr]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30382</uri>
			</author>
			<updated>2014-12-16T13:53:42Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89456#p89456</id>
		</entry>
</feed>
