How do you return multiple values ex. X,Y,Z from a function?
Do you return them as an array?
Thanks!
Do you return them as an array?
Thanks!
Function DoStuff(X:Int Var,Y:Int Var,Z:Int Var) X=1 Y=2 Z=3 End Function
Type AType Field x,y,z endtype Function aFunction:AType() return Temp:Atype EndFuctionMy feeling is that if the (3) things are so related that you are going to be returning them from a Function. Then make them a Type.