/// <summary> /// Get global vars. And initialize basic error and debug objects /// </summary> public CSystem(String App_name) { // Load globals vars Globals = new CGlobals(App_name); system_errors = false; if (Globals.Errors != "") { Console.WriteLine("Error in Globals file: " + Globals.Errors); system_errors = true; } else { // views errors & debug errors = new CErrors(Globals); debug = new CDebug(Globals); // Program tracer ProgramTracer = new TTracer(Globals); // Init Cron Cron = new CCron(Globals, errors, debug); } }