Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
List of commands that create or alter a variables values
Message
De
24/08/2001 12:45:54
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00548407
Message ID:
00548790
Vues:
19
Hugo,

Thanks for your comments. My understanding of the syntax "Do myfun with VAR [, VAR ... ]" is that it forces the passing of variables by reference regardless of the setting of 'SET UDFPARMS'. Do you have a different interpretation?

I appreciate your comments about enclosing variables in parentheses (VAR) to force VFP to pass the variable's value by value vs. reference. Forgot about that trick!

Regards,
Malcolm

>Malcolm,
>
>I dont have any new additions, just a comment.
>
>>- Do myfun with VAR [, VAR ... ] // forces variables to be passed by reference
>
>This is partially true, it will depend on:
>Setting of UDFPARMS
>parameters being actual variables, no expresions
>parameters not enclosed in parenthesis
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform