<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: почему срабатывает if?]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=11816</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=11816&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: почему срабатывает if?».]]></description>
		<lastBuildDate>Sun, 17 Jul 2016 08:58:32 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: почему срабатывает if?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=106126#p106126</link>
			<description><![CDATA[<p><strong>YMP</strong><br />спасибо!</p>]]></description>
			<author><![CDATA[null@example.com (yurri_87)]]></author>
			<pubDate>Sun, 17 Jul 2016 08:58:32 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=106126#p106126</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: почему срабатывает if?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=106125#p106125</link>
			<description><![CDATA[<p>Правильно будет вот так:<br /></p><div class="codebox"><pre><code>svv = razv
vk6d::
	if(svv = &quot;razv&quot;){
		msgbox razv
	}
	if(svv = &quot;sver&quot;){
		msgbox sver
	}
	return</code></pre></div><p>В вашем случае скрипт пытается достать значение из переменной <strong>razv</strong>.Получается первая переменная хранит имя второй переменной из которой будет получена информация.<br /></p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header"><strong>+</strong>&nbsp;Вот пример</div><div class="fancy_spoiler"><div class="codebox"><pre><code>A = B
B = C

if (%A% = &quot;C&quot;)
	msgbox 1
	
if (A = &quot;B&quot;)
	msgbox 2</code></pre></div></div></div><p>Что бы обозначить что это не переменная а текст, то нужно обозначить двойными кавычками.</p><p>P.s Блин на минуту опоздал .XD<br /><span class="postimg"><img src="http://i.imgur.com/h2GtQyC.png" alt="http://i.imgur.com/h2GtQyC.png" /></span></p>]]></description>
			<author><![CDATA[null@example.com (yalanne)]]></author>
			<pubDate>Sun, 17 Jul 2016 08:49:10 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=106125#p106125</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: почему срабатывает if?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=106124#p106124</link>
			<description><![CDATA[<p>Потому что неправильный синтаксис.<br /></p><div class="codebox"><pre><code>
svv = razv
vkd6::
    if(svv = &quot;razv&quot;){
        msgbox razv
    }
    if(svv = &quot;sver&quot;){
        msgbox sver
    }
    return
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (YMP)]]></author>
			<pubDate>Sun, 17 Jul 2016 08:48:18 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=106124#p106124</guid>
		</item>
		<item>
			<title><![CDATA[AHK: почему срабатывает if?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=106123#p106123</link>
			<description><![CDATA[<p>скрипт:</p><div class="codebox"><pre><code>
svv = razv
vk6d::
	if(%svv% = razv){
		msgbox razv
	}
	if(%svv% = sver){
		msgbox sver
	}
	return
</code></pre></div><p>почему срабатывают оба условия? (двойное == в условиях не помогает)</p>]]></description>
			<author><![CDATA[null@example.com (yurri_87)]]></author>
			<pubDate>Sun, 17 Jul 2016 08:11:20 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=106123#p106123</guid>
		</item>
	</channel>
</rss>
