Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find a flaw in the logic
Message
 
 
À
12/01/2006 11:41:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01086027
Message ID:
01086150
Vues:
21
>If SET UDFPARMS is set to REFERENCE, then the change of the value of the sent variable will still be a fact, no matter whether you're using LPARA or PARA.
>
>It may be true that in your case passing is actually by value, but that is not 'known' to the routine. The routine is expected never to influence the sent variable, no matter what the setting of UDFPARMS is. So, I stick to my opinion.

From Help it's hard to figure out, if SET UDFPARMS affects object methods or not. It also doesn't say the scope of this setting. I wish Help would be more explicit.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform