Passing arrays into functions?
Posted: Sat Dec 24, 2016 10:18 pm
Hi Earik,
Can you pass arrays into functions? If so, can you provide an example of the syntax?
I tried doing this numerous ways, including the c++ syntax but could not get it to work. I'm assuming arrays would be passed by reference but I kept running into an issue where the function would not recognize the input as an array and I couldn't figure out how to cast it correctly.
Let me know if you need an example of what I was trying to do.
Thanks!
hjelmstade
Can you pass arrays into functions? If so, can you provide an example of the syntax?
I tried doing this numerous ways, including the c++ syntax but could not get it to work. I'm assuming arrays would be passed by reference but I kept running into an issue where the function would not recognize the input as an array and I couldn't figure out how to cast it correctly.
Let me know if you need an example of what I was trying to do.
Thanks!
hjelmstade