Quote Originally Posted by iMask View Post
I don't really understand what you mean. If you're making 10 the value of a, it's the same thing saying a is equal to 10.

Let's say I have a math problem that said "The value of x is 10". I would see it as making x equal to 10.
A single equal sign "=" can be thought of as assigning a value to a variable (i.e. varX = 5 means "varX is now equal to 5").


On the other hand, a double equals sign "==" is a check, like asking the program a question (i.e. varX == 5 means "is varX equal to 5?"). From there, the program behaves accordingly to whether that question is answered true or false.