Small question about returns
#8

Considering that you are using an array to keep track of them you should probably be using a loop rather than going through them sequentially. You only need to return if you want to end the function. If there is code that you want to execute, then don't put a return. It's rather simple, really.
Reply


Messages In This Thread
Small question about returns - by biker122 - 18.09.2014, 09:43
Re: Small question about returns - by IamPRO - 18.09.2014, 10:03
Re: Small question about returns - by biker122 - 18.09.2014, 11:58
Re: Small question about returns - by Stinged - 18.09.2014, 12:06
Re: Small question about returns - by biker122 - 18.09.2014, 12:16
Re: Small question about returns - by IamPRO - 18.09.2014, 13:07
Re: Small question about returns - by biker122 - 18.09.2014, 13:32
Re: Small question about returns - by Vince - 18.09.2014, 13:45
Re: Small question about returns - by biker122 - 18.09.2014, 13:48

Forum Jump:


Users browsing this thread: 1 Guest(s)