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
 
There is no JScript on CF, hence there is no JScript.Eval
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top