Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RELEASE command
Message
 
À
30/07/2008 14:51:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
01335311
Message ID:
01335340
Vues:
14
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
>
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform