Using --; and ++; with a default number ?
#6

If you want to add or subtract a value, you need to use it like this:
Код:
var -= 20; // minus 20
var += 34; // plus 34
You can only use -- and ++ for quickly subtracting or adding 1
Reply


Messages In This Thread
Using --; and ++; with a default number ? - by Black Axe - 20.10.2012, 08:24
Re: Using --; and ++; with a default number ? - by Virus. - 20.10.2012, 08:25
Re: Using --; and ++; with a default number ? - by gtakillerIV - 20.10.2012, 08:26
Re: Using --; and ++; with a default number ? - by Black Axe - 20.10.2012, 08:32
Re: Using --; and ++; with a default number ? - by Black Axe - 20.10.2012, 08:40
Re: Using --; and ++; with a default number ? - by Hiddos - 20.10.2012, 08:47
Re: Using --; and ++; with a default number ? - by Jessyy - 20.10.2012, 08:49
Re: Using --; and ++; with a default number ? - by gtakillerIV - 20.10.2012, 09:07
Re: Using --; and ++; with a default number ? - by cessil - 20.10.2012, 10:26

Forum Jump:


Users browsing this thread: 1 Guest(s)