>>Hi All:
>>
>>Consider:
>>
>>
>>*Program test.prg
>>
>>SET UDFPARMS TO VALUE
>>
>>cc = '00'
>>
>>DO test2 WITH cc
>>
>>? cc
>>
>>return
>>
>>
>>
>>*program test2.prg
>>PARAMETERS dd
>>
>>dd = '44'
>>
>>@ 1,1 get dd
>>
>>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
>
>This also applies to calling functions, DO always pass parameters by reference.
Thanks.
Now, this leads me to my problem:
In the program I am working on, I have a similar setup to the test and test2 combination. I have a wierd problem that I cannot duplicate with my test and test2 and that is that in my program, nothing appears in the GET field in test2 and regardless what the user enters, the value is '44'. Any ideas?
Thanks,
Yossi