<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Trying to understand what an "Alias" (concerning arrays) is</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2b2a21a361/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2b2a21a361/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/2b2a21a361/</id><updated>2020-02-27T13:50:34.866000Z</updated><subtitle>Recent posts to Trying to understand what an "Alias" (concerning arrays) is</subtitle><entry><title>Trying to understand what an "Alias" (concerning arrays) is</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2b2a21a361/?limit=25#11f4" rel="alternate"/><published>2020-02-27T13:50:34.866000Z</published><updated>2020-02-27T13:50:34.866000Z</updated><author><name>Rob</name><uri>https://forge.codesys.com/u/rob/</uri></author><id>https://forge.codesys.com7a51bcea6a703385276652c5fee594be389dfb29</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks I-Campbell, your explanation helped me to understand an alias assignment isn't what I had figured out.&lt;br/&gt;
I thought the alias could be assigned to the array elements, not to the array itself.&lt;br/&gt;
Is this possible in anyway though? (assigning alias to array elements)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Trying to understand what an "Alias" (concerning arrays) is</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2b2a21a361/?limit=25#2753" rel="alternate"/><published>2020-02-27T13:50:34.746000Z</published><updated>2020-02-27T13:50:34.746000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.comae04e8711578b0abe6c7573ab8dd1384e0227b86</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Alias means "another name for".&lt;br/&gt;
Alias in CODESYS is a user defined data type (DUT).&lt;br/&gt;
So if you make ThirtyTwoBytes an Alias of ARRAY &lt;span&gt;[0..31]&lt;/span&gt; OF BYTE, you can declare myVar : ThirtyTwoBytes; or myVar1 : ARRAY &lt;span&gt;[0..31]&lt;/span&gt; OF BYTE; and they'll be the same data type.&lt;/p&gt;
&lt;p&gt;I know another programming software where you have alias variables, but in CODESYS you have alias types.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Trying to understand what an "Alias" (concerning arrays) is</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2b2a21a361/?limit=25#b590" rel="alternate"/><published>2020-02-27T13:50:34.282000Z</published><updated>2020-02-27T13:50:34.282000Z</updated><author><name>Rob</name><uri>https://forge.codesys.com/u/rob/</uri></author><id>https://forge.codesys.com20a4bdc0eb71d9271a4cc055c33bf54891b27cbb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi everybody,&lt;br/&gt;
The Codesys online help isn't helping me too much to understand what an "Alias" is.&lt;br/&gt;
Could someone perhaps show me a little example of an implementation of it?&lt;br/&gt;
Particularly it interests me concerning arrays...&lt;br/&gt;
Thanks in advance,&lt;br/&gt;
Rob&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Capture1.PNG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4972"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>