[Tcl Java] Re: [Tcl Java] A Tcl or TclBlend problem?

2000-06-28 Thread Dr Wes Munsil
Am I missing something? I do not see this behavior in the 8.2.3 Tcl shell: % proc fern {} { set x [java::new String foo] after 1 "$x toString" unset x update } % fern bgerror failed to handle background error. Original error: invalid command name "java0x1" Error in bgerror: invalid

[Tcl Java] Re: [Tcl Java] Re: [Tcl Java] A Tcl or TclBlend problem?

2000-06-28 Thread Dr Wes Munsil
To: Jiang Wu Cc: [EMAIL PROTECTED] Subject: [Tcl Java] Re: [Tcl Java] A Tcl or TclBlend problem? Am I missing something? I do not see this behavior in the 8.2.3 Tcl shell: % proc fern {} { set x [java::new String foo] after 1 "$x toString" unset x update } % f

[Tcl Java] RE: [Tcl Java] Re: [Tcl Java] Re: [Tcl Java] A Tcl or TclBlend problem?

2000-06-28 Thread Jiang Wu
-Original Message- From: Dr Wes Munsil [mailto:[EMAIL PROTECTED]] Yes, but if you read on you will see that I also tried your proposed workaround, and it gave the same error. But the script does work under Tcl 8.3.1. I need to point out that my 2nd script is NOT a "workaround". It

[Tcl Java] A Tcl or TclBlend problem?

2000-06-23 Thread Jiang Wu
This problem may be related to Dr Wes Munsil's problem on "invalid command name". Here is the problem script: set x [java::new String foo] after 1000 "$x toString" unset x update You will get an error "invalid command name". Comparing that to the script below: set x

[Tcl Java] Re: [Tcl Java] A Tcl or TclBlend problem?

2000-06-23 Thread Mo DeJong
... I am encountering this problem right now in a different form. I am constructing an asynchronous callback function inside Java using a TclList object, {command_name java_obj_1 java_obj_2}. The list contains some Java objects, which are the arguments to the callback function. However,

[Tcl Java] RE: [Tcl Java] A Tcl or TclBlend problem?

2000-06-23 Thread Jiang Wu
-Original Message- From: Mo DeJong [mailto:[EMAIL PROTECTED]] Sent: Friday, June 23, 2000 3:15 PM To: Jiang Wu Cc: [EMAIL PROTECTED] Subject: Re: [Tcl Java] A Tcl or TclBlend problem? You mentioned that doing an after with a list object solved the problem, but here you