> Does the framework have (or is someone willing to share :) ) a utility
> class to do this? Or will I need to build my own interpreter? Something
> like...
>
> int result = MyMath.Evaluate( "(10 / 2) * 3" );

There's some VB 6 code that evaluates simple expressions at:

    http://www.vb-helper.com/HowTo/expr.zip

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to