Igi Posted May 2, 2016 Report Share Posted May 2, 2016 I need to write to INT16 array in C function. Is it possible to do it? I have noticed the header of a C function contains only inputs. I tried to directly write to an array(which was the input of a function) but it did not work. Quote Link to comment Share on other sites More sharing options...
Saragani Posted May 4, 2016 Report Share Posted May 4, 2016 Arrays, structs and strings are being passed by ref (on both Ladder and C functions), so changing values in that array would affect the one that was sent as parameter. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.