Hi,
I have a requirement of using the JScript.NET eval method in my C# code.
Currently, I have a .js file which defines a class and one method that does
the eval and I have compiled this to a dll and is being used in my C# code.
I would like to use Vsa to do this so that I can do it in my C# code
directly. Could some one tell me how do I do this C#?
CGuy
Fergus Cooney - 23 Aug 2003 02:19 GMT
Hi CGuy,
There is a thread in the languages.VB newsgroup about this very same
issue:
Title: "Evaluating String Expression".
Date: 21/08
Briefly, Herfried K. Wagner gave the following link,
http://www.codeproject.com/csharp/runtime_eval.asp,
which leads to an article about a class which does dynamic compilation
and execution of code, including expressions.
And I saw an article on GotDotNet (ages ago, the link lost but a search
would work) which talks about using Vsa, as you mentioned.
Regards,
Fergus