Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Equivalent of Visual FoxPro EVALUATE( ) Function
Message
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
Equivalent of Visual FoxPro EVALUATE( ) Function
Miscellaneous
Thread ID:
00899456
Message ID:
00899456
Views:
83
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
Map
View

Click here to load this message in the networking platform