їRecursion?
#1

Why if i script this:

Code:
forward Test();
public Test()
{
    new Random;
    Random = random(1);
    if(Random == 0) return Test();
    return 1;
}
I get this warning:
warning: recursion in Test

Shall i worry about that? or it's simplily a normal warning to the writer?

Thaks!
Reply


Messages In This Thread
їRecursion? - by ByMatt20030 - 05.12.2017, 20:27
Re: їRecursion? - by Kaperstone - 05.12.2017, 20:33
Re: їRecursion? - by ByMatt20030 - 05.12.2017, 21:28
Re: їRecursion? - by jasperschellekens - 05.12.2017, 21:50
Re: їRecursion? - by chneubeul - 06.12.2017, 07:53
Re: їRecursion? - by adri1 - 06.12.2017, 09:29
Re: їRecursion? - by chneubeul - 06.12.2017, 11:15

Forum Jump:


Users browsing this thread: 2 Guest(s)