public TclInterpreter() { interp = TclAPI.Tcl_CreateInterp(); if (interp == IntPtr.Zero) { throw new SystemException("can not initialize Tcl interpreter"); } }
public int evalScript(string script) { return(TclAPI.Tcl_Eval(interp, script)); }