Question
passing parameter as reference
Hey everybody, do you know if is it possible to pass a
parameter to a
class method as a reference and not as a copy? I try to explain, I'm
trying to convert a c++ steering behavior library from c++ to as3, in
c++ you can pass a parameter as reference using & as example if you
call a method getSum(a,b,&result) then in the getSum function the
'result' property of the calling class was set to the sum of a + b. I
hope you understand what I mean.
There is a way to do this in as3?
thank you
class method as a reference and not as a copy? I try to explain, I'm
trying to convert a c++ steering behavior library from c++ to as3, in
c++ you can pass a parameter as reference using & as example if you
call a method getSum(a,b,&result) then in the getSum function the
'result' property of the calling class was set to the sum of a + b. I
hope you understand what I mean.
There is a way to do this in as3?
thank you