foreach
#1

how to get total of elements in foreach iteration

Exemple i have iteration Player how to get total of players ?

If i have iteration 'Wef'

Iter_Add(Wef,0);
Iter_Add(Wef,1);
Iter_Add(Wef,2);
Iter_Add(Wef,3);


Exist function for get total of elements in the iteration ?

Exmple:
Код:
new total = Iter_Elements(Wef);
printf(" iteration have %d elements",total);
and return for exmple 4
Reply


Messages In This Thread
foreach - by ReVo_ - 14.11.2010, 08:03
Re: foreach - by Simon - 14.11.2010, 08:09
Re: foreach - by ReVo_ - 14.11.2010, 08:23

Forum Jump:


Users browsing this thread: 2 Guest(s)