Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Outlook, folders
Message
De
26/12/2004 07:50:26
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00972090
Message ID:
00972181
Vues:
19
>I think it is recursion because the code referred to above is part of a function
>like this. So if would seem that if loFolder has sub-folders, then the function
>calls itself, allowing it to drill down to folders within folders. But I think
>by calling "FOR EACH loFolder IN loFolders", vfp is asking Outlook to do this work?
>
>Function ReadMail( toFolder)
>  ** the rest of this function
>  ** handling individual emails
>  ** check to see if there are more folders in this folder
>  FOR EACH loFolder IN loFolders
>    This.ReadMail( loFolder )
>  ENDFOR
>Return
>


Oh, I see now what you mean. Yep, it looks that way.


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform