<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Проблема с одинарной ' в Class_SQLiteDB.ahk]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=15055&amp;type=atom" />
	<updated>2019-11-14T20:52:15Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=15055</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Проблема с одинарной ' в Class_SQLiteDB.ahk]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=136591#p136591" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong> Оу, вон оно как...</p>]]></content>
			<author>
				<name><![CDATA[Gh0sTG0]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39523</uri>
			</author>
			<updated>2019-11-14T20:52:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=136591#p136591</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Проблема с одинарной ' в Class_SQLiteDB.ahk]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=136590#p136590" />
			<content type="html"><![CDATA[<p>Это чтобы экранировать спец-символы AHK, а одинарная кавычка таковым не является.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2019-11-14T20:37:12Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=136590#p136590</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Проблема с одинарной ' в Class_SQLiteDB.ahk]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=136589#p136589" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong> Действительно. Мдя... И почему на форумах именно <em>для этих целей</em> пишут знак `? (Впрочем, это скорее риторический вопрос.)</p>]]></content>
			<author>
				<name><![CDATA[Gh0sTG0]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39523</uri>
			</author>
			<updated>2019-11-14T20:15:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=136589#p136589</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Проблема с одинарной ' в Class_SQLiteDB.ahk]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=136587#p136587" />
			<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>2019-11-14T20:03:23Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=136587#p136587</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Проблема с одинарной ' в Class_SQLiteDB.ahk]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=136586#p136586" />
			<content type="html"><![CDATA[<p>Знакомый эффект. Во-первых, когда пишешь на форум, всегда стараешься сформулировать мыль чётко и понятно. В это время усиливается внимание. Подбирая правильные слова, составляешь в голове стройную мысль. Во-вторых, когда читаешь свою же мысль в качестве сообщения на форуме, включается соображалка и свежий взгляд на проблему.<br />Как известно, правильно заданный вопрос содержит в себе часть ответа. <img src="//forum.script-coding.com/img/smilies/wink.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2019-11-14T19:01:41Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=136586#p136586</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Проблема с одинарной ' в Class_SQLiteDB.ahk]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=136585#p136585" />
			<content type="html"><![CDATA[<p>Как оно иногда бывает - стоило только написать на форум, как буквально минут через 20 в голову приходит решение...<br /></p><div class="codebox"><pre><code>StringReplace, material, material, `&#039;, `&#039;`&#039;, All</code></pre></div><p>Вроде работает.</p>]]></content>
			<author>
				<name><![CDATA[Gh0sTG0]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39523</uri>
			</author>
			<updated>2019-11-14T17:24:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=136585#p136585</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Проблема с одинарной ' в Class_SQLiteDB.ahk]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=136584#p136584" />
			<content type="html"><![CDATA[<p>Добрый день.<br />Пытаюсь понять, как правильно использовать SQLite через Class_SQLiteDB.ahk и столкнулся с одной проблемой:<br /></p><div class="codebox"><pre><code>SQL := &quot;INSERT or IGNORE INTO table VALUES(&#039;&quot; . auth . &quot;&#039;, &#039;&quot; . material . &quot;&#039;, 0);&quot;
Clipboard := SQL
If !DB.Exec(SQL)
	MsgBox, 16, SQLite Error, % &quot;Msg:`t&quot; . DB.ErrorMsg . &quot;`nCode:`t&quot; . DB.ErrorCode</code></pre></div><p>Пробую выполнять на странице, выдает ошибку:<br /></p><div class="quotebox"><blockquote><p>Msg:	near &quot;ve&quot;: syntax error<br />Code:	1</p></blockquote></div><p>Вставляю в текстовый документ, ищу &quot;ve&quot; - нахожу единственное место: &quot;I&#039;ve tested&quot;.<br />Дальше, иду, читаю форумы про sqlite, нахожу, что вероятно проблема в одинарной &#039;. Тут же, по мотивам добавляю прямо перед тем куском кода выше:<br /></p><div class="codebox"><pre><code>StringReplace, material, material, `&#039;, ```&#039;, All
SQL := ...</code></pre></div><p>Запускаю, ошибка та же, но в скопированном вижу: &quot;I`&#039;ve tested&quot;.</p><p>Как быть? Как сделать, чтобы получить в ячейке sqlite правильное &quot;I&#039;ve tested&quot;?</p>]]></content>
			<author>
				<name><![CDATA[Gh0sTG0]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39523</uri>
			</author>
			<updated>2019-11-14T16:51:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=136584#p136584</id>
		</entry>
</feed>
