Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Could not figure out exactly what this code does
Message
 
 
À
02/06/2009 16:29:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01403230
Message ID:
01403374
Vues:
52
>>>IC - wierd construct with Set Default on each iteration
>>>_
>>
>>I believe it's non-recursive solution of a recursive problem thus very hard to understand. Also the naming convention makes it harder, IMHO.
>>
>>It's a framework class code, BTW, but I ran into the problem when user stored images under the application folder in hundreds of subfolders and the SET PATH command was breaking.
>
>Well, whatever
>
>(1) I never, ever change set default - strange side effects may occur
>(2) There are other ways to do it iteratively - that's not the problem
>(3) The naming of variables - that's strange

Let me re-phrase the question.

How would you get an array of directories only without switching path?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform