Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why are my local variables changed?
Message
From
01/09/1999 20:45:03
 
 
To
01/09/1999 19:20:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00260036
Message ID:
00260425
Views:
17
Hi Erik,

>Check out the help for UDFPARMS...

Try this:
Var = 'Passed by Value'
do passcheck with Var
wait window Var

proc passcheck
    lparam tVar
    tVar = 'Passed by Reference'
endproc

Now Try

Var = 'Passed by Value'
do passcheck with (Var)
wait window Var

proc passcheck
    lparam tVar
    tVar = 'Passed by Reference'
endproc
Notice the only differnce is the DO line. Am I missing the point again?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform