Sign in to follow this  
Followers 0
BlueScreen

"Recursion level has been exceeded"

5 posts in this topic

I got "Recursion level has been exceeded - AutoIt will quit to prevent stack overflow" message.

What it means and what did I do wrong?

10x

Share this post


Link to post
Share on other sites



You're probably calling the same function recursively, without ever exiting the function.

Share this post


Link to post
Share on other sites

I see. :ph34r:

What is the maximum number of times I can call a function from a function?

Share this post


Link to post
Share on other sites

Recursion is a powerful tool, but it may not be quite what you're after. If your script is not too big, perhaps you can post it here (along with a description of what you want it to do) and someone can help .. :ph34r:

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

What is the maximum number of times I can call a function from a function?

According to the FAQ:

Depth of recursive calls: 384 levels

We may figure out a way of making this bigger in the near future, but for now, 384 is it.

Edited by Nutster

David Nuttall
Nuttall Computer Consulting

An Aquarius born during the Age of Aquarius

AutoIt allows me to re-invent the wheel so much faster.

I'm off to write a wizard, a wonderful wizard of odd...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0