Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
News: VFP support dynamic parameters names
Message
From
15/06/2005 10:21:39
 
 
To
15/06/2005 09:41:37
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01023471
Message ID:
01023499
Views:
11
A more complex version:
CLEAR

= procName('V1,V2,V3,V4',1,2,3,4)

PROCEDURE procName 
LPARAMETERS pList;
,	(GETWORDNUM(m.pList,1,","))	;
,	(GETWORDNUM(m.pList,2,","))	;
,	(GETWORDNUM(m.pList,3,","))	;
,	(GETWORDNUM(m.pList,4,","))

FOR k=1 TO PCOUNT()-1
   ? TRANSFORM(m.k,"@R parameter 99"), GETWORDNUM(m.pList,M.K,","),EVALUATE(GETWORDNUM(m.pList,M.K,","))
NEXT
Previous
Reply
Map
View

Click here to load this message in the networking platform