What does {-1,...} mean?
#1

Hey

I've looked through some threads and noticed that a lot of people use
Код:
new Var[MAX_PLAYERS] = {-1,...};
or sth. like this.
Why dont they use
Код:
new Var[MAX_PLAYERS] = -1;
?
Is the reason that only one element of the array gets the value -1?

-Greetz
Reply


Messages In This Thread
What does {-1,...} mean? - by yellow - 15.11.2014, 23:00
Re: What does {-1,...} mean? - by Djole1337 - 15.11.2014, 23:03
AW: What does {-1,...} mean? - by yellow - 15.11.2014, 23:07

Forum Jump:


Users browsing this thread: 1 Guest(s)