On 7/25/06, Mark Winterhalder <[EMAIL PROTECTED]> wrote:
On 7/25/06, Steven Sacks | BLITZ <[EMAIL PROTECTED]> wrote:
> It is iterating. It still needs to iterate through all nested arrays
> using the same method, which means recursion.
Yes, but function calls aren't the only way to do recursion.
What you're doing is essentially like a depth-first search, which can
be done with a stack.
Hmm... now that I'm having coffee and slowly waking up, I'm getting
serious doubts about how to do depth-first without function calls. I'm
probably wrong, sorry.
Mark
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com