Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

¿Recursion?

$
0
0
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! :D

Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>