The Directory Walker revisited

Dar Scott dsc at swcp.com
Wed Sep 3 17:25:01 EDT 2003


On Wednesday, September 3, 2003, at 03:52 PM, wouter wrote:

>>   repeat with x =  2 to the number of lines of tDirList
>>     directoryWalk (whatFolder & "/" & (line x of tDirList))
>>   end repeat
...
> I am very sorry to inform you that this one you adapted from David 
> Vaughn, is also bumping into the recursionLimit.

Very strange.  I assume you don't have folders nested 700 deep.  Maybe 
something in the script increases the stack frame size.

> So as everybody is really liking recursive handlers I cooked something 
> up which you could call a recursive handler (as it is calling itself). 
> And which will NOT run into the recursionLimit by allowing it to end 
> itself before starting a new instance of itself.

Cool!

Dar Scott




More information about the use-livecode mailing list