2
Answers

Is EVAL type functionality Available in VB.NET?

Ask a question
Mike Geeh

Mike Geeh

16y
2.4k
1

I would like to pass in a few paramweters into a function and parse out an executable if statement without using a Case statement for each possibility.

For instance I would like to pass ">=" into a function and then string it into an if statement without doing this

Case OperatorParameter

Case ">="

   if xxx >= yyy

etc..

Can this be done??

Thanks for any help


Answers (2)