Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RELEASE command
Message
De
30/07/2008 15:14:30
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
01335311
Message ID:
01335344
Vues:
11
I have seen cases where a procedure has been added more than once, but it was a long time ago, so I guess this check is redundant now. Besides that I agree with you.

>Hi Tore,
>
>I actually believe you shouldn't ever release a procedure, you will never know what are you breaking due to their global nature. On the other hand, checking if is already in the Set('Procedure') is not really needed, if it is there VFP will not add it. And lastly if you check wwutils it might be there but from a different path. In fact for this reasons I avoid them since we've got NewObject.
>
>>Do you really need to release the procedure? I do like this when I add a procedure:
>>If !'wwutils'$Lower(Set('proc'))
>>   Set Procedure To wwutils Additive
>>Endif
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform