<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Найти самое большое число и маленькое]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=13094</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=13094&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Найти самое большое число и маленькое».]]></description>
		<lastBuildDate>Wed, 18 Oct 2017 10:24:00 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Найти самое большое число и маленькое]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=120166#p120166</link>
			<description><![CDATA[<p><strong>MandarinKa02</strong> То, что нужно! Спасибо большое.</p>]]></description>
			<author><![CDATA[null@example.com (Vicoriyan)]]></author>
			<pubDate>Wed, 18 Oct 2017 10:24:00 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=120166#p120166</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Найти самое большое число и маленькое]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=120164#p120164</link>
			<description><![CDATA[<p>Такое?<br /></p><div class="codebox"><pre><code>
aCount := 5 ;кол-во чисел
var1 := 258, var2 := 114, var3 := 57, var4 := 313, var5 := 82
max := -1
min := -1
Loop, % aCount
{
	if(var%A_Index% &gt; max) {
		max := var%A_Index%
		continue
	}
	if(var%A_Index% &lt; min || min = -1) {
		min:= var%A_Index%
		continue
	}
}
msgbox % max &quot;`n&quot; min
</code></pre></div><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header"><strong>+</strong>&nbsp;Вариант2(удобнее)</div><div class="fancy_spoiler"><div class="codebox"><pre><code>
aNumbers := &quot;258|114|57|313|82&quot;
max := -1, min := -1
Loop, parse, aNumbers, |
{
	if(A_LoopField &gt; max) {
		max := A_LoopField
		continue
	} if(A_LoopField &lt; min || min = -1) {
		min:= A_LoopField
		continue
	}
}
msgbox % max &quot;`n&quot; min
</code></pre></div></div></div>]]></description>
			<author><![CDATA[null@example.com (MandarinKa02)]]></author>
			<pubDate>Wed, 18 Oct 2017 10:16:55 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=120164#p120164</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Найти самое большое число и маленькое]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=120162#p120162</link>
			<description><![CDATA[<p>Доброго времени суток.<br />Как мне найти самое большое и самое маленькое число с 5 переменных?<br />Например, у меня есть 5 переменных:<br /></p><div class="codebox"><pre><code>var1 := 258, var2 := 114, var3 := 57, var4 := 313, var5 := 82</code></pre></div><p>Нужно присвоить переменной max := 313, а переменной min :=&nbsp; 57</p>]]></description>
			<author><![CDATA[null@example.com (Vicoriyan)]]></author>
			<pubDate>Wed, 18 Oct 2017 09:20:59 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=120162#p120162</guid>
		</item>
	</channel>
</rss>
