Trying to use JScript Eval to construct an expression from a string.

  • Thread starter Thread starter Steve Gould
  • Start date Start date
S

Steve Gould

Hi
I'm writing a routine in a C# app to construct an expression from a
string using data from a table.
So for example variable A = 1 and variable B = 2, so I construct a
string of "1 + 2" and get an answer.

I've used JScript.Eval to do this previously but this doesn't seem to
work using compact framework.

Can anyone tell me whether JScript.Eval is supported under CF and if
its not any suggestions of how I can do my string to expression thing?

Thanks
Steve
 
Back
Top