Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pcount equal to Parameter??
Message
From
23/03/1998 09:43:15
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, United Kingdom
 
 
To
23/03/1998 09:34:49
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00086317
Message ID:
00086364
Views:
30
If the reason for knowing the name of the input variable is so that you can change the variable, then it is not necessary, you can simply pass the variable by reference :-

lnValue = 0
TestProc( lnValue) && by default, passed by reference
? lnValue && Should print 999

FUNCTION TestProc
LPARAMETERS tnParam1
tnParam1 = 999
RETURN

Regards
Mark.

p.s. Sorry if you already know this.
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform