This is probably a really basic syntax question, but I can’t find the answer.
Can anyone tell me what this expression means?
objPoint.x = -objPoint.x;
As a note, objPoint is a CGPoint
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You change the horizontal coordination to its negative.
Another example is that:
Then it will become
x = -7;This is the evaluation process:
The evaluation process will be ran in the right hand side first, so the process is:
then assign it to the left hand side:
x = -7;