Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Global variable dies when sent as a parameter??
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00179903
Message ID:
00180139
Views:
25
Klas,
In addition to Trey's and Rich's suggestion, if you have a field name with the same name as your variable VFP will use the field value instead of the variable value.

Barbara

>Hi,
>
>In VFP3 as well as in FPW26 it seems to be the case that if I send a global variable as a parameter to a procedure, that global variable is dies.
>I have the UDFPARMS set to VALUE and I thought that the procedure would not be able to modify the variables used to send values to the procedure, and even less able to kill it.
>
>If I have missed something it would make life a little easier...
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform