Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command works in command window but no in method code
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00013089
Message ID:
00013202
Views:
30
>>?cMy_function(&cMy_string)
>Maybe you can try cMy_function(eval(cMy_string))
>
>Nick
Thanks nick, I found() it !, just to let you know what I was trying to do,
I have a function that I use to call like this :
m.cString=MyFunction('m.last_name','m.first_name',...)
I was trying to make one string with all the parameters, something like:

cLong_string="'m.last_name','m.first_name'", and then make this
m.cString=MyFunction(&cLong_string)

make some sense ?
what I did was, I stored 'm.last_name' in another variable and then call
the function with that variable, like this
m.cTemp_variable='m.last_name'
m.cString=Myfunction(m.cTemp_variable), and loop through all the parameters.
Anyway, thanks a lot for your help. :)
luisg@netrunner.net
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Previous
Reply
Map
View

Click here to load this message in the networking platform