#2

When you use "=" it means you are assigning something to the some value
Код:
new variable_A; // You create new variables ( empty "box") 
new variable_B;

variable_A = 1; // putting some value in "boxes"
variable_B = 243;
variable_A (variable_B) -> your container
1 (243) -> some value

and with "==" you check if something is equal to something else
Код:
if( variable_A == variable_B )
{
    // if variable_B is equal  to variable_A this part of code will be executed
}
Reply


Messages In This Thread
Help - by Alcatraz Gaming - 08.09.2012, 08:30
Re: Help - by detter - 08.09.2012, 08:45
Re: Help - by LetsOWN[PL] - 08.09.2012, 08:45

Forum Jump:


Users browsing this thread: 1 Guest(s)