<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK:Есть ли альтернатива классам, структурам  и листам/словарям в AHK?]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=6524&amp;type=atom" />
	<updated>2011-12-05T15:26:54Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=6524</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK:Есть ли альтернатива классам, структурам  и листам/словарям в AHK?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=54277#p54277" />
			<content type="html"><![CDATA[<p><a href="http://l.autohotkey.net/docs/Objects.htm">Objects</a></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2011-12-05T15:26:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=54277#p54277</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK:Есть ли альтернатива классам, структурам  и листам/словарям в AHK?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=54276#p54276" />
			<content type="html"><![CDATA[<p>перегоняю C# код в AHK скрипт. Есть следующий класс и функции работающие с ним:<br /></p><div class="codebox"><pre><code>public class SomeClass
{
    public string StringVar=&quot;&quot;;
    public int IntVar = 0;
    ...

  public void ClearSomeClassVars()
  {
     StringVar=&quot;&quot;;
     IntVar = &quot;&quot;;
  }
}

public class WorkClass
{
    List&lt;SomeClass&gt; SomeClassList = new  List&lt;SomeClass&gt;();
    
    public WorkClass()
    {
        SomeClassList.Add(new SomeClass(){StringVar = someInfo,  IntVar = someNumber });
    }
}</code></pre></div><p>Можно ли реализовать что-то похожее на AHK? <br />Есть догадки что можно использовать двойной массив вместо List&lt;SomeClass&gt; и получать доступ по индексам, но может кто знает более лучший подход?<br />Есть ли что-то похожее на Dictionary/List etc?</p>]]></content>
			<author>
				<name><![CDATA[Tatrin]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27382</uri>
			</author>
			<updated>2011-12-05T14:50:05Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=54276#p54276</id>
		</entry>
</feed>
