Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memory Leaks
Message
From
23/07/2008 18:16:15
 
 
To
23/07/2008 17:42:36
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01333545
Message ID:
01333579
Views:
10
No. The Return is not inside the WITH/ENDWITH. Your examples are fine. What is bad is:
WITH oObject
    RETURN RunSomething(.Child_001)
ENDWITH
>Do these scenarios cause problems? Or are we only talking about a RETURN in the same code block?
>
>
>WITH oObject
>     RunSomething(.Child_001)
>ENDWITH
>
>WITH oObject
>     NewChild = RunSomethingElse(.Child_002)
>ENDWITH
>
>
>PROCEDURE RunSomething
>
>     PARAMETER tChild
>
>     Do something with tChild
>
>     RETURN
>
>
>PROCEDURE RunSomething
>
>     PARAMETER tChild
>
>     Do something with tChild
>
>     RETURN tChild
>
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform