<?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=17729&amp;type=atom" />
	<updated>2023-04-11T18:41:38Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=17729</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Динамическая переменная]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157525#p157525" />
			<content type="html"><![CDATA[<p><strong>alexsokolin</strong>, ознакомьтесь, пожалуйста, с <a href="https://forum.script-coding.com/misc.php?action=rules">Правилами</a>, отредактируйте свой пост. Обратите внимание на <a href="https://forum.script-coding.com/misc.php?action=rules#literacy">точки</a> в конце предложений.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2023-04-11T18:41:38Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157525#p157525</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Динамическая переменная]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157524#p157524" />
			<content type="html"><![CDATA[<p><strong>serzh82saratov</strong>, данный способ не работает <img src="//forum.script-coding.com/img/smilies/sad.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[alexsokolin]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42516</uri>
			</author>
			<updated>2023-04-11T18:33:41Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157524#p157524</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Динамическая переменная]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157518#p157518" />
			<content type="html"><![CDATA[<p>Но что самое интересное, что это работает (если задавать в ручную циферки).</p>]]></content>
			<author>
				<name><![CDATA[alexsokolin]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42516</uri>
			</author>
			<updated>2023-04-11T06:14:21Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157518#p157518</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Динамическая переменная]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157517#p157517" />
			<content type="html"><![CDATA[<p>Это я бегал по интернету и нашел вот такое.</p>]]></content>
			<author>
				<name><![CDATA[alexsokolin]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42516</uri>
			</author>
			<updated>2023-04-11T06:09:27Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157517#p157517</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Динамическая переменная]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157512#p157512" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>text := oJSONvar.response.items[number].text</code></pre></div><p>Где вы это взяли &quot;:= %&quot;?</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2023-04-09T19:13:24Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157512#p157512</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Динамическая переменная]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157511#p157511" />
			<content type="html"><![CDATA[<p>Привет! Есть код, который связан с VK api. Например если (смотреть код ниже) писать &quot;0&quot;, в переменной, то у нас берется первое сообщение, если &quot;1&quot; то второе и т.д., в принципе логика как у массивов. Но мне нужно сделать импорт, допустим 10 сообщений и я хочу через луп передать цифру, либо через функцию по переменной передать число, которое будет вставляться в переменную. Как это сделать?<br /></p><div class="codebox"><pre><code>text := % oJSONvar.response.items.0.text</code></pre></div><p>Если делать так:<br /></p><div class="codebox"><pre><code>
VK(0)
Return

VK(number) {
	text := % oJSONvar.response.items.number.text
}</code></pre></div><p>То этот способ не работает. В ручную для каждого делать тоже не комельфо.</p>]]></content>
			<author>
				<name><![CDATA[alexsokolin]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42516</uri>
			</author>
			<updated>2023-04-09T17:51:33Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157511#p157511</id>
		</entry>
</feed>
