Re: error: invalid lvalue in assignment

2008-08-26 Thread Don Arnel
Thanks, Ken! Your explanation makes perfect sense now that I look at it that way. Much appreciated. - Don On Aug 25, 2008, at 10:47 PM, Ken Thomases wrote: On Aug 25, 2008, at 6:25 PM, Don Arnel wrote: I tried to modify the "position" property in another file after creating an object but I

Re: error: invalid lvalue in assignment

2008-08-25 Thread Ken Thomases
On Aug 25, 2008, at 6:25 PM, Don Arnel wrote: I tried to modify the "position" property in another file after creating an object but I get this error: obj.position.x += 1.0; (x error: invalid lvalue in assignment) The above is equivalent to: [obj postion].x += 1.0;