Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Outlook, folders
Message
From
26/12/2004 07:50:26
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00972090
Message ID:
00972181
Views:
18
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform