Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Command works in command window but no in method code
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00013089
Message ID:
00013202
Vues:
35
>>?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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform