Mike Yearwood
Toronto, Ontario, Canada
Versions des environnements
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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement