Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing variables
Message
 
 
À
05/03/2002 15:20:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00628631
Message ID:
00628635
Vues:
12
>I forget, how do you pass a parameter by value or reference. I thought by maybe adding the @ sign.
>
>
>Thanks ahead of time!!!

By default VFP passes parameters by value in call to the functions and by reference to the procedures ( DO ...). SET UDFPARMS Command can change how parameters are passed to a user-defined function (UDF). However it's not recomended to use it. You can pass parameter by reference to the function by preciding it with @ character. You can pass parameter by value into procedure call by encloising it in parenthesis.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform