11.03.2014, 12:00
I have this variable with arrays of 17 cells, i want to put it as statement:
Instead of if(TollGate[0] || TollGate[1] || TollGate[2] || TollGate[3] etc till 16....)
How to make it shorter, in one word / array and to check all the arrays in one time...
new TollGate[16];
Thanks.
Instead of if(TollGate[0] || TollGate[1] || TollGate[2] || TollGate[3] etc till 16....)
How to make it shorter, in one word / array and to check all the arrays in one time...
new TollGate[16];
Thanks.