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

Array [*] Error

2018-10-19
2018-10-21
  • JeffreyThijssen - 2018-10-19

    Hello,

    I have a function which passes a variable array [*] as an IN_OUT. But now it gives me an error. Anyone got a suggestion?

     
  • aliazzz

    aliazzz - 2018-10-20

    Can you give us some more context on your real problem?
    What is it what you are trying to achieve?

     
  • josepmariarams - 2018-10-21

    Hi.

    It seems an sintactic problem, but...

    Why not wrap your array with an fb with methods add set and remove?. You can pass the entire fb as var_inout parameter, in this case you are passing the array and his limits to the user.

    Sent from my Moto G (5S) Plus using Tapatalk

     

Log in to post a comment.