Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
I would like to initialize an array input on a method.
When I do this, I get the following error:
"The type of ARRAY [1..2] OF BOOL cannot have a default value in this context."
I attached a picture for more clarity.
Is this simply not possible or is there a different way of tackling this problem?
Dear Forum,
I would like to initialize an array input on a method.
When I do this, I get the following error:
"The type of ARRAY [1..2] OF BOOL cannot have a default value in this context."
I attached a picture for more clarity.
Is this simply not possible or is there a different way of tackling this problem?
Thank you in advance