First time using OPENDIR
Nancy Palmquist
nlp at vss3.com
Tue Dec 1 07:34:32 PST 2009
Kenneth Brody wrote:
> Fairlight wrote:
>
>> You'll never BELIEVE what Kenneth Brody said here...:
>>
>>> OPENDIR(mask,directory)
>>>
>>> For example:
>>>
>>> xx = opendir("*","/users/kenneth")
>>>
>> What happens if your mask is "" ?
>>
>
> What happened when you tried it? :-)
>
>
>> (And please don't give me the, "What
>> happened when you tried it?" answer...you know I don't own a copy, and I'm
>> not tracking down a client to get authorisation to test it on their system
>> at 11pm in the evening.) :)
>>
>
> I believe that you will get no filenames returned, though I haven't actually
> tried it. Other posters have said that they did try it and got nothing.
>
>
Ken,
I have tried: opendir("PRJ*.*", "/folder") and with two * I will get
nothing, but if I do the following:
opendir("PRJ*.14","/folder") it will find any files that match. This is
strange, I thought.
Boaz ---
Also, be careful to closedir() if you want to open another folder. If
you try to open before you close, it will not do it. It has no way to
handle two open folders.
Nancy
--
Nancy Palmquist MOS & filePro Training Available
Virtual Software Systems Web Based Training and Consulting
PHONE: (412) 835-9417 Web site: http://www.vss3.com
More information about the Filepro-list
mailing list