11.11.2014, 11:48
Quote:
|
-- means it will decrease the amount of something by 1
and ++ means it will increase the amount of something by 1. here is an example: pawn Код:
pawn Код:
|
++/-- can be used also like this:
pawn Код:
// foo++
new foo;
if(foo++ == 0) // foo variable is currently 0, and after the checking, it's 1
// ++foo
if(++foo == 0) // Variable foo is increased by one, and then it's checked if it's 0


