Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27408

VS 2010 Test if Recursive function calls itself

$
0
0
Hi

im was just writing a simple recursive function and was stumped when i came to this.....

public function Test(count as integer, RCall as boolean)<----- the rcall is used to know if the functions has called itself, i was wandering if there was a way not to have this, is there a way to find out which function called another without complex coding, or is there another way to do this?

i was just thinking since its only meant to be used internally i could stop it showing up to a developer?

thanks

Viewing all articles
Browse latest Browse all 27408

Trending Articles



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