lvalue required as left operand of assignment

Discussion in 'iPhone/iPad Programming' started by macfanboy, Apr 9, 2009.

  1. macrumors 6502a

    Joined:
    Jun 5, 2007
    #1
    i tried multiple variations of the following code, but i cant get that error to go away....

    Code:
    ball.center.x = ballSpeed.x + currentBallLocation.x; 
    
    any ideas?

    thanks
     
  2. Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #2
    What class is ball?
     
  3. macrumors 68030

    PhoneyDeveloper

    Joined:
    Sep 2, 2008
    #3

Share This Page