<?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="https://forum.script-coding.com/extern.php?action=feed&amp;tid=12040&amp;type=atom" />
	<updated>2016-09-27T06:00:31Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=12040</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Разбор строки без разделителей на куски заданной длинны]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=108045#p108045" />
			<content type="html"><![CDATA[<p>Вопрос снимается, сам нашел.<br />Код для разделения:<br /></p><div class="codebox"><pre><code>
String := data
While Mod(StrLen(String), 2)
    String := &quot;0&quot; String
Loop % StrLen(String)/2
	{
    Out := &quot;0x&quot; SubStr(String, A_Index*2-1, 2) ; добавление 0x превращает число в шестндцатиричное 
	msgbox, %out%
	}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[NektoN95]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32518</uri>
			</author>
			<updated>2016-09-27T06:00:31Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=108045#p108045</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Разбор строки без разделителей на куски заданной длинны]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=108044#p108044" />
			<content type="html"><![CDATA[<p>Есть переменная с результатом чтения бинарного файла, нужно разделить ее по два символа при помощи &quot;Loop (parse a string)&quot;. Только вот как? Разделителей то там отродясь нету...<br />Да, и вот еще, получившиеся строки надо будет потом складывать и вычитать, пологаю для этого нужно как-то указать, что в полученных переменных 16-тиричные числа...</p>]]></content>
			<author>
				<name><![CDATA[NektoN95]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32518</uri>
			</author>
			<updated>2016-09-27T05:23:45Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=108044#p108044</id>
		</entry>
</feed>
