Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing parameters
Message
 
 
To
21/05/2009 16:53:40
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01401445
Message ID:
01401449
Views:
36
Please see message #1395851 and the whole thread.

>Hi All:
>
>Consider:
>
>
>*Program test.prg
>
>SET UDFPARMS TO VALUE
>
>cc = '00'
>
>DO test2 WITH cc
>
>? cc   &&Displays '11'!!!!
>
>return
>
>
>
>*program test2.prg
>PARAMETERS dd
>
>dd = '44'
>
>@ 1,1 get dd  &&user enters '11'
>
>READ
>
>
>
>Why is the value of cc in test.prg changed to '11'? I thought that when UDFPARMS is set to VALUE, the value is not changed?
>
>Thanks,
>
>Yossi
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform