<?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=13677</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=13677&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: эквивалент %=».]]></description>
		<lastBuildDate>Sat, 05 May 2018 21:52:58 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: эквивалент %=]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=125131#p125131</link>
			<description><![CDATA[<div class="codebox"><pre><code>result &amp;= ~LONG_MIN</code></pre></div><p>на AHK означает то же самое, <a href="https://autohotkey.com/docs/Variables.htm#unary">читайте</a> <a href="https://autohotkey.com/docs/Variables.htm#AssignOp">хэлп</a>, 1103515245L в AHK то же самое, что просто 1103515245, L — указание типа константы.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sat, 05 May 2018 21:52:58 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=125131#p125131</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: эквивалент %=]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=125130#p125130</link>
			<description><![CDATA[<div class="quotebox"><cite>KusochekDobra пишет:</cite><blockquote><p>В result присваивается остаток от целочисленного деления result на max.<br /></p><div class="codebox"><pre><code>
result := 5, max := 3
result := (result / max) - (result // max)
</code></pre></div></blockquote></div><p>Я думаю так:<br /></p><div class="codebox"><pre><code>result := 5, max := 3
result := mod(result, max)</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sat, 05 May 2018 21:39:32 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=125130#p125130</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: эквивалент %=]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=125129#p125129</link>
			<description><![CDATA[<p>Спасибо.<br />Еще вопросик. В одно языке программирования есть такая строчка:<br /></p><div class="codebox"><pre><code>result &amp;= ~LONG_MIN;        /* remove sign bit */</code></pre></div><p>result - это какое-то очень длинное число.<br />Как это применить для ahk? <br />И что значит число где на конце буква L например 1103515245L?</p>]]></description>
			<author><![CDATA[null@example.com (Dworkin)]]></author>
			<pubDate>Sat, 05 May 2018 21:27:04 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=125129#p125129</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: эквивалент %=]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=125126#p125126</link>
			<description><![CDATA[<p>В result присваивается остаток от целочисленного деления result на max.<br /></p><div class="codebox"><pre><code>
result := 5, max := 3
result := (result / max) - (result // max)
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (KusochekDobra)]]></author>
			<pubDate>Sat, 05 May 2018 21:21:36 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=125126#p125126</guid>
		</item>
		<item>
			<title><![CDATA[AHK: эквивалент %=]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=125125#p125125</link>
			<description><![CDATA[<p>Вот тут нашел функцию для разных языков <a href="https://github.com/devLotto/pawnrandom">https://github.com/devLotto/pawnrandom</a>. Хотел ее перевести для ahk. Увидел такую запись для каждого языка &quot;result %= max&quot;. Скажите как это перевести на ahk? <br />В описании например для python написано: &quot;Делит по модулю операнды и присваивает результат левому.&quot;</p>]]></description>
			<author><![CDATA[null@example.com (Dworkin)]]></author>
			<pubDate>Sat, 05 May 2018 21:12:58 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=125125#p125125</guid>
		</item>
	</channel>
</rss>
