Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Equivalent of Visual FoxPro EVALUATE( ) Function
Message
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Titre:
Equivalent of Visual FoxPro EVALUATE( ) Function
Divers
Thread ID:
00899456
Message ID:
00899456
Vues:
82
In looking for a command in VB, specifically VB .NET which is equivalent to the FoxPro function EVALUATE( ). If you're not familiar with FoxPro the EVALUATE( ) function takes a string as aparameter and evaluates the string like is was a command.

Example.

function mySum( int Param1, int Param2 ) returns Param1 + Param2

str = "mySum( 1, 1 ) + mySum( 2, 2 )"
result = EVALUATE( str )

result contains the value 6

Does anyone know if an equivalent function exists, or if this functionality is even possible in VB .NET.

Thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform