Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Runtime evaluation of C# code...
Message
De
23/10/2002 21:57:51
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Runtime evaluation of C# code...
Divers
Thread ID:
00714629
Message ID:
00714629
Vues:
53
Is there an equivalent to 'macro expansion' that exists in VFP?

For instance, I'd like to be able to do stuff like the following:

string cForm;
cForm = "CustomerForm";
string cCmd;

cCmd = cForm + " oFrm = new " + cForm + "()";
&cCmd;
cCmd = "oFrm.Show()";
&cCmd;

I realize the '&' is completely different in C, but was curious if macro expansion in VFP is available in C#, so that I can execute commands dynamically.


Thanks,
Kevin
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform