Andre's Directories Challenge
I am sure that anyone who uses LotusScript has been following the excellent blog posts of Andre Guirard. Recent blog posts on large arrays and queues have been particularly interesting for those of us working on VoltScript. His blog post on a Queue data structure ended with a challenge. The root of the problem is that the LotusScript Dir()
function is not recursive. Without a parameter it gives the next file or directory relative to its last call. So you can't have one loop using Dir()
and an inner loop that also uses Dir()
. Andre uses a Queue class to perform FIFO (First In First Out), which achieves what's needed, but not as required: