<?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="http://forum.script-coding.com/extern.php?action=feed&amp;tid=9078&amp;type=atom" />
	<updated>2013-12-25T18:33:02Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=9078</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Перевернуть слово]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=78520#p78520" />
			<content type="html"><![CDATA[<p>Да код с <strong>SubStr</strong> вполне себе в порядке, просто возился сегодня с <strong>Loop, Parse</strong> и он первым делом &quot;всплыл&quot; в памяти <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p><p>По поводу := и % даже не знаю, бессистемно видимо применяю, где что удобней. Тяготею к <strong><span style="color: blue">:=</span></strong> в случае, когда присваивание идет числовой переменной, а <strong><span style="color: blue">= %</span></strong> в основном с текстом, хотя АНК типы не разделяет.</p>]]></content>
			<author>
				<name><![CDATA[Irbis]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27384</uri>
			</author>
			<updated>2013-12-25T18:33:02Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=78520#p78520</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Перевернуть слово]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=78519#p78519" />
			<content type="html"><![CDATA[<p>Да, вот это класс!<br />Чертовски просто и очевидно, стало даже стыдно за свой монстро-код <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /><br />---<br />Кстати почему вы начали писать <strong> = % </strong><br /></p><div class="codebox"><pre><code>Result = % A_LoopField Result
</code></pre></div><p>А не:<br /></p><div class="codebox"><pre><code>Result := A_LoopField Result</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2013-12-25T17:49:44Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=78519#p78519</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Перевернуть слово]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=78518#p78518" />
			<content type="html"><![CDATA[<p>Со словом проще, чем с полями <em>Edit</em><br /></p><div class="codebox"><pre><code>word = Россия
Loop, Parse, word
  Result = % A_LoopField Result
MsgBox % Result</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Irbis]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27384</uri>
			</author>
			<updated>2013-12-25T17:39:38Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=78518#p78518</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Перевернуть слово]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=78517#p78517" />
			<content type="html"><![CDATA[<p>Спасибо Серж!</p>]]></content>
			<author>
				<name><![CDATA[Qweasd123]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=31279</uri>
			</author>
			<updated>2013-12-25T17:31:31Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=78517#p78517</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Перевернуть слово]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=78516#p78516" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>
word = россия
Loop % Len := StrLen(word)
    conversely .= SubStr(word, Len--, 1)
MsgBox, % conversely
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2013-12-25T17:22:26Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=78516#p78516</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Перевернуть слово]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=78515#p78515" />
			<content type="html"><![CDATA[<p>Не. Не то выводит. Irbis, у меня скорее код замудренный, подскажите пожалуйста как слово перевернуть? Например вводим слово &quot;россия&quot;, вывести должно &quot;яиссор&quot;</p>]]></content>
			<author>
				<name><![CDATA[Qweasd123]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=31279</uri>
			</author>
			<updated>2013-12-25T16:34:49Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=78515#p78515</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Перевернуть слово]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=78513#p78513" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>Loop % Количество букв
  Result = % Edit%A_Index% Result
MsgBox % Result</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Irbis]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27384</uri>
			</author>
			<updated>2013-12-25T16:21:44Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=78513#p78513</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Перевернуть слово]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=78511#p78511" />
			<content type="html"><![CDATA[<p>Как перевернуть слово? ( Например: Привет, Тевирп ).&nbsp; Под Edit1, Edit2, Edit3 и т.д хранится каждая буква начиная с конца. Но вот с выводом проблема. Выводится по 1 букве в сообщении. Как сделать чтобы в MsgBox выводилось сразу все буквы?</p><p>Тут мой код вывода букв начиная с конца слова, но выводит по 1 букве, а нужно чтобы вывело сразу:<br /></p><div class="codebox"><pre><code>
i:= 0
Loop % Количество букв
{
a:= MaxLen - i++
MsgBox % Edit%a%
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Qweasd123]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=31279</uri>
			</author>
			<updated>2013-12-25T15:20:26Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=78511#p78511</id>
		</entry>
</feed>
