If I have a Function that I want to attempt recursion with that has a STATIC array defined within it, does the data in the array remain for each recursion or is it a new static array for each time the function recurses?
In my mind I see it as being the same array each time the function is called, either in recursion or by the main loop. As STATIC variables within a sub or function are supposed to remain between calls. I'm just not sure if thats how it actually works during recursion, or if anybody has done this before.
I just don't want to waste a lot of time trying to code this out if its not how things are supposed to work in the first place and then spend countless hours trying to figure out why it doesn't work correctly then.
Of course if there is no experience out there then my option is simply to give it a go and pray for a good result I guess. It however takes less time to ask, than to blindly charge in and try to fix a mangled mess later.