Since VBScript isn’t the way of the future, I’ve decided to discontinue the “The Wall” project. Something similar for so called intelligent homes is in planning stage. It will be based on the open source Jint project. Check this out:
Dim X As New Jint.JintEngine() Dim Script As New System.Text.StringBuilder() Script.AppendLine("var x=10;") Script.AppendLine("return x;") Dim Response As Object = X.Run(Script.ToString()) Console.WriteLine(Response.GetType()) '(Double) Console.WriteLine(Response.ToString()) '(10)
Jint is a fully managed open source JavaScript interpreter.
Leave a Reply