Interpreter.ShowErrors C# (CSharp) Method

ShowErrors() private method

private ShowErrors ( CompilerResults cr, string codeStr ) : void
cr CompilerResults
codeStr string
return void
    void ShowErrors(CompilerResults cr, string codeStr) {
		StringBuilder sbErr;
		sbErr = new StringBuilder("Compiling string: ");
		sbErr.AppendFormat("'{0}'\n\n", codeStr);
		foreach(CompilerError err in cr.Errors) {
			sbErr.AppendFormat("{0}\n",err.ErrorText);
		}
		Utils.Print(sbErr.ToString());		
    }