filesearch keyword

Cableguy

Expert
Licensed User
Longtime User
Hi

As I understood from the help file, the filesearch keyword provides two variable, one being an array that contains the filenames, and the number of files found...
How do I code this?

I tryed:

n=filesearch(files,apppath&"\imageset","*.dll")

this gives me a null reference error..
For the moment the dir is empty, so if should return 0, shouldn't it?
 

Cableguy

Expert
Licensed User
Longtime User
You mean that I need to add the array list before i call the filesearch keyword, right?
 

Cableguy

Expert
Licensed User
Longtime User
I still can't gett it to work...

I want to pass to labels the filenames found in the directory.
Can you exemplify how to pass the array...please!
 

Cableguy

Expert
Licensed User
Longtime User
Thanks Erel,

Now I see were I was going wrong...
 
Top