General information
Category:
Coding, syntax & commands
Title:
Equivalent of Visual FoxPro EVALUATE( ) Function
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only