[Tcl Java] Re: Tcl and Java interaction

2000-08-16 Thread Christian Krone
Hello, Toga Hartadinata is > [...] wondering can the tcl shell used the return value of a java function > call ? > Here is some code example > public class test{ > public int run() { > return 10; > } > } > and then in tcl shell > set t [java::new test] > now can it do > se

[Tcl Java] Jacl: "file extension" now 8.4 compatible

2000-08-16 Thread Christian Krone
Hello, and here a small patch to make "file extension" work as it does in newer Tcl. Greetings, Krischan -- Christian Krone, SQL Datenbanksysteme GmbH Mail mailto:[EMAIL PROTECTED] --- FileCmd.java.orgSat Aug 7 07:59:06 1999 +++ FileCmd.javaWed Aug 16 06:45:36 2000 @@ -670,12 +67

[Tcl Java] Error in (not yet published) Interp.java

2000-08-16 Thread Christian Krone
Hello, there is an error in the Interp.java file as you get it when you applied the patch at http://ME.IN-Berlin.de/~v12/krischan/Interp/other-files.patch You should make the following change to get the correct version: --- Interp.java.org Wed Aug 16 18:21:46 2000 +++ Interp.java Wed Aug

[Tcl Java] Tcl List Elements for Java

2000-08-16 Thread Yogindra Persaud
Hi, I have a Tcl List Object that this being passed in as an argument to cmdProc method in one of my classes in Java. How do I go about breaking up the list into it's elements, and converting them to String so that I can print them out using System.out.println() ? I know there is a toString() me