PDA

View Full Version : lvalue required as left operand of assignment




macfanboy
Apr 9, 2009, 10:15 AM
i tried multiple variations of the following code, but i cant get that error to go away....

ball.center.x = ballSpeed.x + currentBallLocation.x;


any ideas?

thanks



dejo
Apr 9, 2009, 10:46 AM
What class is ball?

PhoneyDeveloper
Apr 9, 2009, 12:08 PM
Already answered.

http://www.iphonedevsdk.com/forum/iphone-sdk-development/15523-lvalue-required-left-operand-assignment.html

Don't cross post. You waste people's time.