Thanks. Since it's been a while since I wrote a script, I guess I assumed I used one of the function wrong or something. I never noticed the while statement included nothing.
I tried your way of looping and there's something I don't quite get; what kind of expression does it expect at the end of the statement? The only way I managed to make it work is with this:
(handle-next-entry (dir-read-entry dirlist)) )) ))
I would have expected it to either want only "(handle-next-entry)" so that it knows to return to the beginning or "(handle-next-entry (currentfile (dir-read-entry dirlist)))" to repeat the whole expression.
I'll look into removing the set! from my scripts. The source I learned from(forgot what is was) used them so I also did. Thanks(once again) for pointing that out.