Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pass variables by reference
Message
 
 
To
13/06/2001 00:50:49
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00518723
Message ID:
00518725
Views:
8
This message has been marked as the solution to the initial question of the thread.
Jimi,

Put an @ in front of the parameter

lnX = 1
? MyProc( @lnX )

>How can I pass variables to my procedure by reference, such that the value of original variables will be changed by the procedure?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform