JScript Eval function

C

CGuy

Hi,

I need to use the Eval function of JScript in my C# code. I was thinking
that I could write this as a seperate JScript.NET file, compile it as a .NET
module and then later link it with my C# .NET module using AL to produce my
final asembly. But the JScript.NET compiler does not have an option to
compile code into a .NET module (it lacks the /t:module compiler option).

How do I go about doing this? Is it possible to use classes in the
Microsoft.JScript namespace to achieve the same thing?

Or, is there a C# equiv way to do this?

CGuy
 

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

Top