Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WITH ENDWITH question
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00822119
Message ID:
00822732
Views:
19
Hi Terry

Monitoring this in the debugger the WITH seems to be terminated if you return in the middle anyway.

Nick Mason

>It seems more readable this way:
>
>with this
>if !.Something
>   llReturnFlag=.f.
>else
>   llReturnFlag=.t.
>endif
>endwith
>return llReturnFlag
>
>My suspicion is that short-cutting an encapsulation might bait a C5.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform