|
i didn't realize multiple return values could be passed on to another function without a table. > function foo(x,y,z) print("x=",x,"y=",y,"z=",z) end > function getpos() return 1,2,3 end > foo(getpos()) x= 1 y= 2 z= 3 nice. lua is full of surprises. :)