<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Array of ADR()</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/54829e6c72/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/54829e6c72/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/54829e6c72/</id><updated>2020-02-27T14:17:24.624000Z</updated><subtitle>Recent posts to Array of ADR()</subtitle><entry><title>Array of ADR()</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/54829e6c72/?limit=25#540a" rel="alternate"/><published>2020-02-27T14:17:24.624000Z</published><updated>2020-02-27T14:17:24.624000Z</updated><author><name>josepmariarams</name><uri>https://forge.codesys.com/u/josepmariarams/</uri></author><id>https://forge.codesys.comb52d3ecbf46bb7659473527846bcfd8af9123ecf</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It s not the same a pointer to an array that an arry of pointers.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Array of ADR()</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/54829e6c72/?limit=25#7054" rel="alternate"/><published>2020-02-27T14:17:24.241000Z</published><updated>2020-02-27T14:17:24.241000Z</updated><author><name>nothinrandom</name><uri>https://forge.codesys.com/u/nothinrandom/</uri></author><id>https://forge.codesys.comcbc68faaeccf27fb910ed30953bc07f2e003a10f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Josep M. Rams hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
What do you want is&lt;br/&gt;
Array &lt;span&gt;[1..2]&lt;/span&gt; of pointer to word.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;That works. Thanks!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Array of ADR()</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/54829e6c72/?limit=25#1969" rel="alternate"/><published>2020-02-27T14:17:23.856000Z</published><updated>2020-02-27T14:17:23.856000Z</updated><author><name>josepmariarams</name><uri>https://forge.codesys.com/u/josepmariarams/</uri></author><id>https://forge.codesys.com22b002a63c3de6d796d4c68fc5037a86b34b2af0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;What do you want is&lt;/p&gt;
&lt;p&gt;Array &lt;span&gt;[1..2]&lt;/span&gt; of pointer to word.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Array of ADR()</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/54829e6c72/?limit=25#cbfc" rel="alternate"/><published>2020-02-27T14:17:22.748000Z</published><updated>2020-02-27T14:17:22.748000Z</updated><author><name>nothinrandom</name><uri>https://forge.codesys.com/u/nothinrandom/</uri></author><id>https://forge.codesys.com0b089ab9dc780d01b1eb6637ec371e4de1e42319</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;I know that I can declare a variable that points to a data type. For example:&lt;br/&gt;
TEST1: POINTER TO WORD:= ADR(%IW123);&lt;/p&gt;
&lt;p&gt;However, I can't create an array of that&lt;br/&gt;
TEST2: POINTER TO ARRAY&lt;span&gt;[1..2]&lt;/span&gt; OF WORD:= &lt;span&gt;[ADR(%IW123), ADR(%IW321)]&lt;/span&gt;;&lt;/p&gt;
&lt;p&gt;Is this legal or is the syntax incorrect? Either way, compiler is not happy at all.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>