Expression has no effect?!?!!?
#5

pawn Код:
// Method 1
a = a + b;

//Method 2
a += b;
This is how you add the value of b to variable a. Both methods do the same thing. To make it more clear, what you're doing right now is "b + a". You're not setting the result to any variable.
Reply


Messages In This Thread
Expression has no effect?!?!!? - by Stoyanov - 22.02.2015, 10:20
Re: Expression has no effect?!?!!? - by Vince - 22.02.2015, 10:21
Re: Expression has no effect?!?!!? - by Stoyanov - 22.02.2015, 10:33
Respuesta: Re: Expression has no effect?!?!!? - by kirk - 22.02.2015, 10:39
Re: Expression has no effect?!?!!? - by HazardouS - 22.02.2015, 10:40
Re: Expression has no effect?!?!!? - by Stoyanov - 22.02.2015, 10:44

Forum Jump:


Users browsing this thread: 1 Guest(s)