[Tcl Java] RE: [Tcl Java] Converting Interp.getResult TclObject to Java

2000-04-19 Thread Paul Eng
Mo, Thanks for the reply. Suppose I want to use Jacl to process users' scripts so that I have no idea what the return type is going to be. I understand how I could check to see if the return object is a ReflectObject and how I could unwrap it to get the Java object if it was. But, let's say a

[Tcl Java] Re: [Tcl Java] Converting Interp.getResult TclObject to Java

2000-04-14 Thread Mo DeJong
On Fri, 14 Apr 2000, Paul Eng wrote: > I am looking into using Jacl to call Tcl scripts. I can call interp.eval() > and then interp.getResult() to get the return value, but the return value is > a TclObject. What I would like to do is convert this TclObject result into > it's appropriate java o