Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Recursion level has been exceeded?

$
0
0
So I am writing a script and I am at a point where I have a variable, I want to add 1 to that variable, then do a quick process with that variable, then repeat, but when I write something as simple as this:

[ autoit ]      
Folder() Func Folder() $Count += 1 ;Insert quick function using $Count here If $Count < 15000 Then Folder() Else NextFunc() EndIf EndFunc Func NextFunc() ;Insert anything you want here EndFunc

AutoIT will stop because "Recursion level has been exceeded - AutoIt will quit to prevent stack overflow." after about 3,898 recurrences consistently. The problem is I want to run this for 10,000-100,000 times. Is there anyway to circumvent this limitation?

Viewing all articles
Browse latest Browse all 12506

Trending Articles



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