<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Init Array input on a method</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6979a11f94/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6979a11f94/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/6979a11f94/</id><updated>2024-02-26T12:13:55.170000Z</updated><subtitle>Recent posts to Init Array input on a method</subtitle><entry><title>Init Array input on a method</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6979a11f94/?limit=25#4d24" rel="alternate"/><published>2024-02-26T12:13:55.170000Z</published><updated>2024-02-26T12:13:55.170000Z</updated><author><name>alexgooi</name><uri>https://forge.codesys.com/u/alexgooi/</uri></author><id>https://forge.codesys.comfe1bd7d9f3f9795c510d5e513b625a9b0cf20941</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Dear Forum, &lt;/p&gt;
&lt;p&gt;I would like to initialize an array input on a method.&lt;br/&gt;
When I do this, I get the following error: &lt;br/&gt;
"The type of ARRAY &lt;span&gt;[1..2]&lt;/span&gt; OF BOOL cannot have a default value in this context."&lt;br/&gt;
I attached a picture for more clarity.&lt;/p&gt;
&lt;p&gt;Is this simply not possible or is there a different way of tackling this problem? &lt;/p&gt;
&lt;p&gt;Thank you in advance&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>