Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
With / EndWith removal procedure
Message
De
24/03/2010 12:57:58
 
 
À
24/03/2010 09:49:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01456907
Message ID:
01456991
Vues:
86
>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform