ResetOutputMethod
Removes any output decoration
Example 1: Restoring output back to original setting
uc.SetOutput("Result = 'Answer: <' + Result + '>'")
Console.WriteLine(uc.EvalStr("10+20"))
Console.WriteLine(uc.EvalStr("'Hello '+'world'"))
Console.WriteLine(uc.EvalStr("5 > 10"))
uc.ResetOutput():
Console.WriteLine(uc.EvalStr("10+20"))
Console.WriteLine(uc.EvalStr("'Hello '+'world'"))
Console.WriteLine(uc.EvalStr("5 > 10"))
uc.SetOutput("Result = 'Answer: <' + Result + '>'");
Console.WriteLine(uc.EvalStr("10+20"));
Console.WriteLine(uc.EvalStr("'Hello '+'world'"));
Console.WriteLine(uc.EvalStr("5 > 10"));
uc.ResetOutput();
Console.WriteLine(uc.EvalStr("10+20"));
Console.WriteLine(uc.EvalStr("'Hello '+'world'"));
Console.WriteLine(uc.EvalStr("5 > 10"));
uc.ResetOutput();
uc.SetOutput('Result = "Answer: <" + Result + ">"');
WriteLn(uc.EvalStr('10+20'));
WriteLn(uc.EvalStr('"Hello "+"world"'));
WriteLn(uc.EvalStr('5 > 10'));
uc.ResetOutput();
WriteLn(uc.EvalStr('10+20'));
WriteLn(uc.EvalStr('"Hello "+"world"'));
WriteLn(uc.EvalStr('5 > 10'));
uc.SetOutput("Result = 'Answer: <' + Result + '>'");
cout << uc.EvalStr("10+20") << endl;
cout << uc.EvalStr("'Hello '+'world'") << endl;
cout << uc.EvalStr("5 > 10") << endl;
uc.ResetOutput();
cout << uc.EvalStr("10+20") << endl;
cout << uc.EvalStr("'Hello '+'world'") << endl;
cout << uc.EvalStr("5 > 10") << endl;
uc.ResetOutput();
uc.SetOutput("Result = 'Answer: <' + Result + '>'");
Console::WriteLine(uc.EvalStr("10+20"));
Console::WriteLine(uc.EvalStr("'Hello '+'world'"));
Console::WriteLine(uc.EvalStr("5 > 10"));
uc.ResetOutput();
Console::WriteLine(uc.EvalStr("10+20"));
Console::WriteLine(uc.EvalStr("'Hello '+'world'"));
Console::WriteLine(uc.EvalStr("5 > 10"));
uc.ResetOutput();
DLL import code
<DllImport(uCalcDLL, CharSet:=CharSet.Ansi, CallingConvention:=CallingConvention.Cdecl, EntryPoint:="ResetOutput")> _
Private Sub ResetOutput__(ByVal uCalcHandle As IntPtr)
End Sub
[DllImport(uCalcDLL, CharSet=CharSet.Ansi, CallingConvention=CallingConvention.Cdecl, EntryPoint="ResetOutput")]
protected static extern void ResetOutput_(IntPtr uCalcHandle);
{DLLImport}procedure ResetOutput__(uCalcHandle: System.Pointer); cdecl; external uCalcDLL name 'ResetOutput';
typedef void (* __ResetOutput)(void *uCalcHandle);
[DllImport(uCalcLib, CharSet=CharSet::Ansi, CallingConvention=CallingConvention::Cdecl, EntryPoint = "ResetOutput")]
static void ResetOutput_(void * uCalcHandle);