Esempio n. 1
0
        static void Main()
        {
#if false
            System.Windows.Forms.Application.EnableVisualStyles();
            System.Windows.Forms.Application.SetCompatibleTextRenderingDefault(false);
            System.Windows.Forms.Application.Run(new Form1());
#endif
            // PdfIndexer.Start(@"D:\username\Desktop\Books\sammel");


            object result = TestCompiler.Eval("Return (1+1).ToString() + \"px\" ");
            System.Console.WriteLine(result);

            result = null;
            result = TestCompilerCSharp.Eval("return (1+1).ToString() + \"px\"; ");
            System.Console.WriteLine(result);

            System.Console.WriteLine(System.Environment.NewLine);
            System.Console.WriteLine(" --- Press any key to continue --- ");
            System.Console.ReadKey();
        } // End Sub Main