Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing variables
Message
 
 
To
05/03/2002 15:20:52
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00628631
Message ID:
00628635
Views:
13
>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--
Previous
Reply
Map
View

Click here to load this message in the networking platform