Mike Yearwood
Toronto, Ontario, Canada
Environment versions
Network:
Windows 2008 Server
>I like how you used SYS(2000) instead of ADIR() -- it avoids problem if there are enough DBFs to cause array boundary overflow.
>
>One about possible action one might do is to make the program recursive so that you "walk" the directory hierarchy Of course, there is the potential for a problem if you run into a directory "reference loop"... (yup, I've seen it happen).
Hi Naoto
Sorry for taking so long to reply. I'm not a big fan of arrays since VFP could have had far more array functions but doesn't. Good idea. I think I'd rather have a routine to recurse and build the list of folders and then call the GetBadDbfs routine per folder. That way each one is separate and encapsulated.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only