First time using OPENDIR

Boaz Bezborodko boaz at mirrotek.com
Mon Nov 30 19:20:46 PST 2009


Kenneth Brody wrote:
> Boaz Bezborodko wrote:
> [...]
>> Is there a system variable that says how many files were found with 
>> OPENDIR?  I've looked, but I haven't found it yet.
>
> You mean something other than the return value from opendir() itself?  
> You can also use @DIRLIST["0"].
>
I figured out the solution to my previous problem of checking another 
directory:

x=OPENDIR("*.*","/Directory_path")

In case anyone is interested I got the answer from a tip that Ken gave 
to someone else regarding their code which can be found here:
http://www.fptechforum.com/index.php?action=printpage;topic=195.0


He has this line of code that gave me the answer:
> ::handle_for_opendir=opendir("*.csv",foldername):
A little bit better explanation of on this command in the documentation 
would help avoid this problem for people in the future.

Boaz



More information about the Filepro-list mailing list