Beispiel #1
0
        static void Main(string[] args)
        {
            Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture("en-US");

            if (args.Length == 1 && args[0].EndsWith(".a"))
            {
                Script_A s = new Script_A(args[0]);
            }
        }
        static void Main(string[] args)
        {
            Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture("en-US");

            if (args.Length == 1)
            {
                // MLSettings in ml/sampling module
                //FileInfo fi = new FileInfo(System.Environment.CurrentDirectory + Path.DirectorySeparatorChar + "MLsettings.txt");
                //if (fi.Exists)
                //{
                //    MLsettings.load(fi.OpenText());
                //}
                if (args[0].EndsWith(".txt"))
                {

                }
                if (args[0].EndsWith(".a"))
                {
                    Script_A s = new Script_A(args[0]);
                }
            }
        }
Beispiel #3
0
        static void Main(string[] args)
        {
            Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture("en-US");



            if (args.Length == 1)
            {
                // MLSettings in ml/sampling module
                //FileInfo fi = new FileInfo(System.Environment.CurrentDirectory + Path.DirectorySeparatorChar + "MLsettings.txt");
                //if (fi.Exists)
                //{
                //    MLsettings.load(fi.OpenText());
                //}
                if (args[0].EndsWith(".txt"))
                {
                }
                if (args[0].EndsWith(".a"))
                {
                    Script_A s = new Script_A(args[0]);
                }
            }
        }