Forum Discussion

Komag's avatar
Komag
Roku Guru
11 years ago

Stack Overflow after only 31 recursive calls?

I'm just teasing, but c'mon, only 31? I thought it was supposed to be, like, millions! 😛 :oops:

1 Reply

  • Aha, well done. I've just barely learned some recursive stuff and was trying to implement part of my sound handling system, re-running the function if certain conditions aren't met using the next array element until they're gone. But I had a flag I was setting the wrong way, so it sent it into an endless recursion under a certain circumstance.