How do I pass an array as function argument
want to know how I can pass an array as an argument for a max script function.
I currently try it like this. but I get an error 'No "append" function for Global:myarray':
fn myfunc arr =
--do some stuff with array
append arr 3
When I leave the reference symbol away the variable arr in myfunc becomes "undefined".
So how do you do that kind of stuff done right? Or is that not possible in max script?