Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing parameters
Message
From
21/05/2009 16:53:40
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Passing parameters
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01401445
Message ID:
01401445
Views:
127
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
Next
Reply
Map
View

Click here to load this message in the networking platform