Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
With / EndWith removal procedure
Message
From
24/03/2010 12:57:58
 
 
To
24/03/2010 09:49:26
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01456907
Message ID:
01456991
Views:
84
>>>Hi,
>>>
>>>Do we have a procedure at hand to remove With / EndWith syntax from a procedure / programm?
>>>
>>>Regards,
>>>
>>>Koen
>>
>>Why would you want to do this?
>
>Hi,
>
>Because I / we find it more accurate to change our coding from With / Endwith construction to oObject. Advantage: no more possible C00005 (return within a With / EndWith and better readable source. It seems that the time gain if at all with With/ Endwith is neglectable. However it is tendious job to go through all the coding to remove and reconstruct. Basicly it should not be so difficult, there are however e few pitfall. So in order not to reinvcent the wheel my question.
>

The VFPX Code Analyst has a rule to check for RETURN inside WITH/ENDWITH.

Tamar
Previous
Reply
Map
View

Click here to load this message in the networking platform