Hi there,
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
)
myarray=#(a,b,c,d,e)
myfunc &arr
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?
Anubis · 2011-09-09
miauu · 2011-09-09