[Tutorial] y_iterate (foreach 3.0)
#13

Quote:
Originally Posted by IstuntmanI
View Post
What about adding "Iter_RandomFree" ? It would be a combination of Iter_Random (which returns randomly a used value) and Iter_Free (which returns the first non-used value), it should return a random free value.

Maybe even Iter_CountFree ? A combination of Iter_Count and Iter_Free, which would count the free slots. If it could be in a better way than this:
pawn Code:
printf( "Free: %d", ITERATOR_MAX_SIZE - Iter_Count( ITERATOR_NAME ) );
Yes! XD

I had this idea not to long ago, but forgot to suggest it. Then when I went to suggest it I forgot what my idea was! Thanks for refreshing my memory!
Reply


Messages In This Thread
y_iterate (foreach 3.0) - by Misiur - 16.04.2015, 18:18
Re: y_iterate (foreach 3.0) - by hamzajaved780 - 17.04.2015, 09:18
Re: y_iterate (foreach 3.0) - by Konstantinos - 17.04.2015, 09:22
Re: y_iterate (foreach 3.0) - by RaeF - 12.05.2015, 07:45
Re: y_iterate (foreach 3.0) - by Emmet_ - 12.05.2015, 08:45
Re: y_iterate (foreach 3.0) - by RaeF - 12.05.2015, 09:21
Re: y_iterate (foreach 3.0) - by Konstantinos - 12.05.2015, 12:41
Re: y_iterate (foreach 3.0) - by Psymetrix - 12.05.2015, 20:45
Re: y_iterate (foreach 3.0) - by Konstantinos - 12.05.2015, 20:51
Re: y_iterate (foreach 3.0) - by Psymetrix - 12.05.2015, 20:57
Re: y_iterate (foreach 3.0) - by Crayder - 17.07.2015, 10:28
Re: y_iterate (foreach 3.0) - by IstuntmanI - 21.08.2015, 16:44
Re: y_iterate (foreach 3.0) - by Crayder - 21.08.2015, 20:23
Re: y_iterate (foreach 3.0) - by vannesenn - 04.06.2016, 12:54
Re: y_iterate (foreach 3.0) - by Konstantinos - 04.06.2016, 13:02
Re: y_iterate (foreach 3.0) - by vannesenn - 04.06.2016, 13:18
Re: y_iterate (foreach 3.0) - by Crayder - 04.06.2016, 17:37
Re: y_iterate (foreach 3.0) - by vannesenn - 04.06.2016, 19:15
Re: y_iterate (foreach 3.0) - by Crayder - 04.06.2016, 20:02
Re: y_iterate (foreach 3.0) - by vannesenn - 04.06.2016, 21:18
Re: y_iterate (foreach 3.0) - by Crayder - 04.06.2016, 21:48
Re: y_iterate (foreach 3.0) - by PrivateUserName - 08.07.2016, 09:52
Re: y_iterate (foreach 3.0) - by NewFreeroamStunt - 07.09.2017, 10:18
Re: y_iterate (foreach 3.0) - by raydx - 07.09.2017, 10:31
Re: y_iterate (foreach 3.0) - by Misiur - 07.09.2017, 10:44
Re: y_iterate (foreach 3.0) - by wallee - 19.09.2017, 21:17

Forum Jump:


Users browsing this thread: 1 Guest(s)