operator
what this(+=) operator combo do?
i saw this in Hawk552 gamestatus2. heres some code: Quote:
|
Re: operator
count++
its the same as doing count = count + 1 in this case it adds the string to pos with out having to reassign it another way would have been pos = pos + format(...) |
Re: operator
|
Re: operator
|
Re: operator
ok help me understand this now.
so i have variable Pos Quote:
Quote:
is it function inbuilt in pawn like equali? anyways it looks like im taking away from the message(that follows later) 1 and then Pos what is 0 as it was just declared and then is the message itself. so output of this format will be some integer that will be added on to Pos right? |
Re: operator
PHP Code:
|
| All times are GMT -4. The time now is 23:36. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.