<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Variable Array sizes in libraries</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b29006d167/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b29006d167/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/b29006d167/</id><updated>2023-05-31T06:12:01.127000Z</updated><subtitle>Recent posts to Variable Array sizes in libraries</subtitle><entry><title>Variable Array sizes in libraries</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b29006d167/?limit=25#f87c" rel="alternate"/><published>2023-05-31T06:12:01.127000Z</published><updated>2023-05-31T06:12:01.127000Z</updated><author><name>rubenh</name><uri>https://forge.codesys.com/u/rubenh/</uri></author><id>https://forge.codesys.come1e7bd496b627de1e9a5f1aee993202e064c6b47</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Currently, I have been working with variable array sizes in within libraries in CoDeSys, but I couldn't find a proper solution. I tried the following:&lt;br/&gt;
- ARRAY&lt;span&gt;[*]&lt;/span&gt;, which unfortunately doesn't work when a * reference refers to another * reference. You will get an error when generating code&lt;br/&gt;
- Library Parameter Lists, which are deprecated in later versions and only function on a top-level library, while we use supporting libraries as well...&lt;br/&gt;
Are there any other methods that can solve this issue with arrays of variable length in libraries?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>