converting to foreach
#3

You should not use foreach if you want to loop through all elements
foreach is there if you want to loop through parts of all available slots
As example if you want to loop only through the 20 connected players not through all 500 slots

But it seems that your code should loop through all elements
Reply


Messages In This Thread
converting to foreach - by RedFusion - 25.08.2012, 14:15
Re: converting to foreach - by martin149 - 25.08.2012, 14:30
AW: converting to foreach - by Nero_3D - 25.08.2012, 14:34
Re: converting to foreach - by RedFusion - 25.08.2012, 14:34
Re: converting to foreach - by Pangea - 25.08.2012, 14:56
Re: converting to foreach - by clarencecuzz - 25.08.2012, 14:59
Re: converting to foreach - by RedFusion - 25.08.2012, 16:48
Re: converting to foreach - by RedFusion - 25.08.2012, 20:47

Forum Jump:


Users browsing this thread: 2 Guest(s)