Grouping Skins
#9

Quote:
Originally Posted by [ABK]Antonio
Посмотреть сообщение
I would use a switch for that very reason. If you use an if statement it and have a lot of skins to go through it will gain length pretty fast. With an if statement you could do

case 274..279: return true;

It wont take as much space and will be more efficient
You are right, a switch statement would be a better alternative.
Reply


Messages In This Thread
Grouping Skins - by Robert_Crawford - 12.03.2012, 19:10
Re: Grouping Skins - by MP2 - 12.03.2012, 19:12
Re: Grouping Skins - by [ABK]Antonio - 12.03.2012, 19:13
Re: Grouping Skins - by MP2 - 12.03.2012, 19:17
Re: Grouping Skins - by Robert_Crawford - 12.03.2012, 19:35
Re: Grouping Skins - by MP2 - 12.03.2012, 19:40
Re: Grouping Skins - by [ABK]Antonio - 12.03.2012, 19:43
Re: Grouping Skins - by KingHual - 12.03.2012, 19:44
Re: Grouping Skins - by MP2 - 12.03.2012, 19:44
Re: Grouping Skins - by Robert_Crawford - 12.03.2012, 20:18

Forum Jump:


Users browsing this thread: 5 Guest(s)