Exemplo n.º 1
0
 private void ExecuteExportTxtStmt(Ast.ExportTxtStmt stmt, ScriptEnv env)
 {
     try {
         ExportTxtStmtRunner.Run(_notebook, env, this, stmt);
     } catch (Exception ex) {
         Throw(env, -1, ex.Message, -1);
     }
 }
        // must be run from the SQLite thread
        public static void Run(INotebook notebook, ScriptEnv env, ScriptRunner runner, Ast.ExportTxtStmt stmt)
        {
            var exporter = new ExportTxtStmtRunner(notebook, env, runner, stmt);

            exporter.Export();
        }