Connecting Tech Pros Worldwide Help | Site Map

JScript Eval function

CGuy
Guest
 
Posts: n/a
#1: Nov 15 '05
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



Closed Thread


Similar C# / C Sharp bytes