Chdir problem

Kenneth Brody kenbrody at bestweb.net
Wed Sep 1 05:32:03 PDT 2004


Fairlight wrote:
[...]
> You want to look at OPENDIR, NEXTDIR, CLOSEDIR, and EXISTS with the array
> @FSTAT[] in v5.x.  The first three are only necessary if you need to
> actually traverse directories.  If you just need to peek at that file in 8
> locations, you could just use EXISTS and check @FSTAT[].
[...]

FYI -

The opendir/nextdir/closedir/@dirlist[] combo includes the modification
date and time, so in this case the exists/@fstat[] combo is redundant.

-- 
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody        | www.hvcomputer.com |                             |
| kenbrody/at\spamcop.net | www.fptech.com     | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+



More information about the Filepro-list mailing list