New to Loops such as these ones, any advice?
#3

This isn't the way to do it. You should consider array as the ID. do what grymton told. make a seperate token called taken and make it true when taken and false when its removed then loop through all and take the array index which taken is false using break;
Reply


Messages In This Thread
New to Loops such as these ones, any advice? - by SkyFlare - 18.07.2020, 06:34
Re: New to Loops such as these ones, any advice? - by grymtn - 18.07.2020, 07:43
Re: New to Loops such as these ones, any advice? - by GameOvr - 18.07.2020, 08:01
Re: New to Loops such as these ones, any advice? - by SkyFlare - 18.07.2020, 08:11
Re: New to Loops such as these ones, any advice? - by xRadical3 - 18.07.2020, 08:48

Forum Jump:


Users browsing this thread: 1 Guest(s)