hello All-

I am working on a handler that can find a file anywhere on a computer.
I think this can be done with BuddyAPI, but I'm looking to do it with
the (free) fileXtra3 instead.

Using FileXtra, I can:
-get a list of volumes(drives)with fx_VolumesToList()
-clean the list with fx_VolumeIsRemovable()--remove floppy/CD/Zip
references
-get a list of files/folders with fx_FolderToList()

-then use lingo to spot files or folders in the list (delimiter "\" or
":" in folderName strings) and react accordingly.

So far so good.

The real hurdle is writing a handler that can continue scanning folders'
subfolders' subfolders... all the way out of the file structure 'tree',
and find its way back to the appropriate branching point, when it has
reached the end of a branch. The point being an orderly, systematic
sweep of all folders on disk(s).

It seems to me that I can use RECURSION here, but I can't quite get my
head around it- Can anyone give me some pointers?

regards, AT, Clars

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to