Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
News: VFP support dynamic parameters names
Message
From
15/06/2005 09:41:37
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
News: VFP support dynamic parameters names
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01023471
Message ID:
01023471
Views:
66
CLEAR

PUBLIC anotherVariable
var1 = 'anotherVariable'
anotherVariable = 1

? procName(var1)
? anotherVariable 

PROCEDURE procName
LPARAMETERS parName,(m.parName)	&& this is a dynamic parameter renaming
? m.parName,anotherVariable     && and hide the PUBLIC anotherVariable

anotherVariable = 2	&& this write 2 into a local variable
Next
Reply
Map
View

Click here to load this message in the networking platform