<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Задать несколько условий if несколькими строками]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=11200&amp;type=atom" />
	<updated>2016-01-04T01:28:58Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=11200</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Задать несколько условий if несколькими строками]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100145#p100145" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Сделано.</p>]]></content>
			<author>
				<name><![CDATA[Hollisch]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33563</uri>
			</author>
			<updated>2016-01-04T01:28:58Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100145#p100145</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Задать несколько условий if несколькими строками]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100134#p100134" />
			<content type="html"><![CDATA[<p><strong>Hollisch</strong>, посмотрите, как оформлены другие заголовки, сделайте так же. Ознакомьтесь с <a href="http://forum.script-coding.com/viewtopic.php?id=6148">этой</a> темой.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2016-01-03T15:15:46Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100134#p100134</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Задать несколько условий if несколькими строками]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100133#p100133" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Не совсем понял, но надеюсь так. Если нет, поправьте.</p>]]></content>
			<author>
				<name><![CDATA[Hollisch]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33563</uri>
			</author>
			<updated>2016-01-03T14:28:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100133#p100133</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Задать несколько условий if несколькими строками]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100129#p100129" />
			<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>2016-01-03T13:31:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100129#p100129</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Задать несколько условий if несколькими строками]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100128#p100128" />
			<content type="html"><![CDATA[<p>Как-то нелепо вышло, по старой памяти перепутал с pawn-ом, насколько я помню - в нем не имело значения с чего начинается строка, если она за скобками, здесь же:<br />Если оператор OR в конце строки, а новая строка начинается с условия в скобках - при запуске ahk ругается, а если строка начинается с оператора OR то все нормально. </p><div class="codebox"><pre><code>		If(	(GetKeyState(&quot;RButton&quot;, &quot;P&quot;) = 0)	||	(GetKeyState(&quot;F&quot;, &quot;P&quot;) = 1 ) 
		||	(GetKeyState(&quot;Q&quot;, &quot;P&quot;) = 1 )		||	(GetKeyState(&quot;W&quot;, &quot;P&quot;) = 1 )
		||	(GetKeyState(&quot;E&quot;, &quot;P&quot;) = 1 )		||	(GetKeyState(&quot;A&quot;, &quot;P&quot;) = 1 ) 	
		||	(GetKeyState(&quot;S&quot;, &quot;P&quot;) = 1 )		||	(GetKeyState(&quot;D&quot;, &quot;P&quot;) = 1 ))
		Break	</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Hollisch]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33563</uri>
			</author>
			<updated>2016-01-03T13:30:47Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100128#p100128</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Задать несколько условий if несколькими строками]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100127#p100127" />
			<content type="html"><![CDATA[<p>Добрый вечер! Вопрос простой, как записать несколько условий в несколько строк :<br /></p><div class="codebox"><pre><code>If ((GetKeyState(&quot;RButton&quot;, &quot;P&quot;) = 0) || (GetKeyState(&quot;F&quot;, &quot;P&quot;) = 1 ) || (GetKeyState(&quot;Q&quot;, &quot;P&quot;) = 1 ))</code></pre></div><p>Условий будет больше и данная строка растянется, что весьма неудобно. <br />Использовать If для каждого условия? А еще как-нибудь можно?</p>]]></content>
			<author>
				<name><![CDATA[Hollisch]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33563</uri>
			</author>
			<updated>2016-01-03T13:08:50Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100127#p100127</id>
		</entry>
</feed>
